home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 20 code / Advanced AOCE Templates / Inner planets next >
MacBinary  |  1994-10-14  |  32.8 KB  |  [bust/kl03]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Aug 5 09:51:44 1994, modified Fri Oct 14 07:50:04 1994, creator 'kl03', type 'bust', 32768 bytes "Inner planets" , at 0x8080 553 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[bust]
macFileCreator[kl03]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 49 6e 6e 65 72 20 | 70 6c 61 6e 65 74 73 00 |..Inner |planets.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 62 75 73 74 6b 6c 30 | 33 01 00 00 00 00 00 00 |.bustkl0|3.......|
|00000050| 00 00 00 00 00 80 00 00 | 00 02 29 aa 67 f4 70 aa |........|..).g.p.|
|00000060| c4 20 ec 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |. ......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cb 30 00 00 |........|.....0..|
|00000080| 00 00 00 00 00 00 00 00 | 01 00 00 03 00 00 00 02 |........|........|
|00000090| 00 00 00 03 00 00 00 15 | 00 00 00 05 00 00 00 01 |........|........|
|000000a0| 02 00 00 52 00 00 00 40 | 00 00 00 39 00 00 00 00 |...R...@|...9....|
|000000b0| 80 00 ff 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 02 0a 01 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | fe 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 01 f8 00 f8 00 78 00 0e |........|.....x..|
|00000280| 00 00 00 00 00 00 00 04 | ff 01 00 06 00 00 39 07 |........|......9.|
|00000290| 00 00 7d 00 00 00 00 65 | 00 00 00 0b 68 72 63 20 |..}....e|....hrc |
|000002a0| 20 50 6c 61 6e 65 74 80 | 9a 0a 00 27 0e 50 01 ee | Planet.|...'.P..|
|000002b0| fc c8 00 15 cd bc 00 00 | 00 01 00 00 00 00 7d 00 |........|......}.|
|000002c0| 00 00 00 6a 00 00 00 00 | 70 6c 6e 74 00 00 00 3b |...j....|plnt...;|
|000002d0| 00 00 00 05 45 61 72 74 | 68 3f ff 80 01 4f 8b 58 |....Eart|h?...O.X|
|000002e0| 8e 36 8f 40 05 c6 ce 7e | 62 dc 6e 2a 80 40 05 cd |.6.@...~|b.n*.@..|
|000002f0| 89 6d 6d c1 a4 7a 9e 3f | f9 88 e9 b3 8d 60 a6 33 |.mm..z.?|.....`.3|
|00000300| 05 3f ff 80 00 00 00 00 | 00 00 00 27 39 07 00 00 |.?......|...'9...|
|00000310| 7d 00 00 00 00 65 00 00 | 00 0b 68 72 63 20 20 50 |}....e..|..hrc P|
|00000320| 6c 61 6e 65 74 20 69 6e | 66 6f fd 2a 00 27 22 92 |lanet in|fo.*.'".|
|00000330| 00 2b 38 d2 00 2a fc 60 | 00 00 00 00 7d 00 00 00 |.+8..*.`|....}...|
|00000340| 00 6b 00 00 00 00 70 6c | 6e 74 00 00 00 3a 00 00 |.k....pl|nt...:..|
|00000350| 00 04 4d 61 72 73 3f ff | f0 c2 61 38 ff fb ce 42 |..Mars?.|..a8...B|
|00000360| 40 06 f0 bd 4e 2b 06 3e | 07 a3 40 07 a7 ef fe 00 |@...N+.>|..@.....|
|00000370| 4b 7f 5a 53 3f fb bf 46 | 66 ec 9e 23 6c 16 3f ff |K.ZS?..F|f..#l.?.|
|00000380| c3 08 35 58 a7 61 02 79 | 1e 0a 00 00 7d 00 00 00 |..5X.a.y|....}...|
|00000390| 00 65 00 00 00 01 00 00 | 00 0d 49 6e 6e 65 72 20 |.e......|..Inner |
|000003a0| 70 6c 61 6e 65 74 73 00 | 00 01 00 00 00 0b 68 72 |planets.|......hr|
|000003b0| 63 20 20 4f 72 62 69 74 | 73 ec 1e 0a 00 00 7d 00 |c Orbit|s.....}.|
|000003c0| 00 00 00 65 00 00 00 02 | 00 00 00 0d 49 6e 6e 65 |...e....|....Inne|
|000003d0| 72 20 70 6c 61 6e 65 74 | 73 03 00 04 00 00 00 12 |r planet|s.......|
|000003e0| 61 6f 63 65 20 42 75 73 | 69 6e 65 73 73 20 43 61 |aoce Bus|iness Ca|
|000003f0| 72 64 23 0c 00 00 7d 00 | 00 00 00 65 00 00 00 02 |rd#...}.|...e....|
|00000400| 00 00 00 12 61 6f 63 65 | 20 42 75 73 69 6e 65 73 |....aoce| Busines|
|00000410| 73 20 43 61 72 64 00 04 | 00 00 00 0d 49 6e 6e 65 |s Card..|....Inne|
|00000420| 72 20 70 6c 61 6e 65 74 | 73 03 1c 0c 00 00 7d 00 |r planet|s.....}.|
|00000430| 00 00 00 65 00 00 00 01 | 00 00 00 0b 68 72 63 20 |...e....|....hrc |
|00000440| 20 4f 72 62 69 74 73 74 | 00 01 00 00 00 0d 49 6e | Orbitst|......In|
|00000450| 6e 65 72 20 70 6c 61 6e | 65 74 73 03 73 03 00 00 |ner plan|ets.s...|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 bc |........|........|
|00000470| 01 94 01 dc 01 aa 01 72 | 01 3a 01 08 00 8c 00 0e |.......r|.:......|
|00000480| 00 00 00 04 00 00 00 06 | ff 01 00 02 00 00 39 07 |........|......9.|
|00000490| 00 00 7d 00 00 00 00 65 | 00 00 00 10 61 6f 63 65 |..}....e|....aoce|
|000004a0| 20 64 72 61 67 20 73 6f | 75 72 63 65 0e 50 01 ee | drag so|urce.P..|
|000004b0| fc c8 00 15 cd bc 00 00 | 00 01 00 00 00 00 7d 00 |........|......}.|
|000004c0| 00 00 00 6c 00 00 00 02 | 00 00 00 00 00 00 00 00 |...l....|........|
|000004d0| 00 00 00 00 00 09 54 68 | 65 20 50 72 69 64 65 00 |......Th|e Pride.|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 05 48 69 | 6c 66 79 00 00 00 00 00 |......Hi|lfy.....|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 0d 48 61 72 72 79 20 | 43 68 65 73 6c 65 79 00 |..Harry |Chesley.|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 ff ff 00 00 | 00 00 7d 00 00 00 00 8d |........|..}.....|
|00000550| 00 00 00 0d 49 6e 6e 65 | 72 20 70 6c 61 6e 65 74 |....Inne|r planet|
|00000560| 73 00 00 00 00 0b 68 72 | 63 20 20 4f 39 07 00 00 |s.....hr|c O9...|
|00000570| 7d 00 00 00 00 65 00 00 | 00 10 61 6f 63 65 20 64 |}....e..|..aoce d|
|00000580| 72 61 67 20 73 6f 75 72 | 63 65 0e 50 01 ee fc c8 |rag sour|ce.P....|
|00000590| 00 15 cd bc 00 00 00 01 | 00 00 00 00 7d 00 00 00 |........|....}...|
|000005a0| 00 6c 00 00 00 03 72 62 | 69 74 73 00 00 00 00 00 |.l....rb|its.....|
|000005b0| 00 00 00 09 54 68 65 20 | 50 72 69 64 65 00 00 00 |....The |Pride...|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 05 48 69 6c 66 | 79 00 00 00 00 00 00 00 |....Hilf|y.......|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 0d |........|........|
|000005f0| 48 61 72 72 79 20 43 68 | 65 73 6c 65 79 00 00 00 |Harry Ch|esley...|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 ff ff 00 00 00 00 | 7d 00 00 00 00 8d 00 00 |........|}.......|
|00000630| 00 0d 49 6e 6e 65 72 20 | 70 6c 61 6e 65 74 73 00 |..Inner |planets.|
|00000640| 00 00 00 0b 68 72 63 20 | 20 4f 72 20 70 6c 61 6e |....hrc | Or plan|
|00000650| 65 74 73 03 00 00 00 12 | 61 6f 63 65 20 42 75 73 |ets.....|aoce Bus|
|00000660| 69 6e 65 73 73 20 43 61 | 72 64 00 00 00 00 01 ea |iness Ca|rd......|
|00000670| 01 c2 01 6e 01 40 01 10 | 01 8e 01 2c 00 ec 00 0e |...n.@..|...,....|
|00000680| 00 00 00 00 00 00 00 00 | 00 02 00 05 00 00 52 02 |........|......R.|
|00000690| 00 00 00 01 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 cc 00 00 00 05 52 07 | 00 00 7d 00 00 00 00 65 |......R.|..}....e|
|000006f0| 00 00 00 10 61 6f 63 65 | 20 64 72 61 67 20 73 6f |....aoce| drag so|
|00000700| 75 72 63 65 0e 50 01 ee | fc c8 00 15 cd bc 00 00 |urce.P..|........|
|00000710| 00 01 00 00 00 00 7d 00 | 00 00 00 6c 00 00 00 00 |......}.|...l....|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 cc 00 00 00 06 52 07 |........|......R.|
|00000740| 00 00 7d 00 00 00 00 65 | 00 00 00 10 61 6f 63 65 |..}....e|....aoce|
|00000750| 20 64 72 61 67 20 73 6f | 75 72 63 65 0e 50 01 ee | drag so|urce.P..|
|00000760| fc c8 00 15 cd bc 00 00 | 00 01 00 00 00 00 7d 00 |........|......}.|
|00000770| 00 00 00 6c 00 00 00 02 | 00 00 00 00 00 00 00 00 |...l....|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 24 00 00 00 02 52 07 | 00 00 7d 00 00 00 00 65 |.$....R.|..}....e|
|000007a0| 00 00 00 10 68 72 63 20 | 20 4f 72 62 69 74 73 20 |....hrc | Orbits |
|000007b0| 69 6e 66 6f fd 2a 00 27 | 22 92 00 2b 38 d2 00 2a |info.*.'|"..+8..*|
|000007c0| fc 60 00 00 00 00 7d 00 | 00 00 00 67 00 00 00 00 |.`....}.|...g....|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 cc 00 00 00 04 52 07 |........|......R.|
|000007f0| 00 00 7d 00 00 00 00 65 | 00 00 00 0b 68 72 63 20 |..}....e|....hrc |
|00000800| 20 50 6c 61 6e 65 74 80 | 9a 0a 00 27 0e 50 01 ee | Planet.|...'.P..|
|00000810| fc c8 00 15 cd bc 00 00 | 00 01 00 00 00 00 7d 00 |........|......}.|
|00000820| 00 00 00 6a 00 00 00 00 | 00 00 00 00 00 00 00 00 |...j....|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 24 00 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |.$......|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 01 c6 01 6e | 01 16 00 be 00 66 00 0e |.......n|.....f..|
|00000880| 00 00 00 01 00 00 00 02 | ff 01 00 03 00 00 39 07 |........|......9.|
|00000890| 00 00 7d 00 00 00 00 65 | 00 00 00 10 68 72 63 20 |..}....e|....hrc |
|000008a0| 20 4f 72 62 69 74 73 20 | 69 6e 66 6f fd 2a 00 27 | Orbits |info.*.'|
|000008b0| 22 92 00 2b 38 d2 00 2a | fc 60 00 00 00 00 7d 00 |"..+8..*|.`....}.|
|000008c0| 00 00 00 67 00 00 00 00 | 62 6e 72 79 00 00 00 04 |...g....|bnry....|
|000008d0| 00 00 00 00 39 07 00 00 | 7d 00 00 00 00 65 00 00 |....9...|}....e..|
|000008e0| 00 0b 68 72 63 20 20 50 | 6c 61 6e 65 74 80 9a 0a |..hrc P|lanet...|
|000008f0| 00 27 0e 50 01 ee fc c8 | 00 15 cd bc 00 00 00 01 |.'.P....|........|
|00000900| 00 00 00 00 7d 00 00 00 | 00 68 00 00 00 00 70 6c |....}...|.h....pl|
|00000910| 6e 74 00 00 00 3d 00 00 | 00 07 4d 65 72 63 75 72 |nt...=..|..Mercur|
|00000920| 79 3f fc f6 a1 e8 1c b4 | 6b ac f7 40 04 f3 00 a9 |y?......|k..@....|
|00000930| 58 53 7e 2c 56 40 05 9a | 99 83 b6 02 85 ec 3e 3f |XS~,V@..|......>?|
|00000940| fc d2 91 75 07 e9 d9 4d | 0e 3f fd c6 31 d7 12 a0 |...u...M|.?..1...|
|00000950| ec 74 32 b2 39 07 00 00 | 7d 00 00 00 00 65 00 00 |.t2.9...|}....e..|
|00000960| 00 0b 68 72 63 20 20 50 | 6c 61 6e 65 74 20 69 6e |..hrc P|lanet in|
|00000970| 66 6f fd 2a 00 27 22 92 | 00 2b 38 d2 00 2a fc 60 |fo.*.'".|.+8..*.`|
|00000980| 00 00 00 00 7d 00 00 00 | 00 69 00 00 00 00 70 6c |....}...|.i....pl|
|00000990| 6e 74 00 00 00 3b 00 00 | 00 05 56 65 6e 75 73 3f |nt...;..|..Venus?|
|000009a0| fe 9d 7e 77 d5 23 b3 63 | 6f 40 05 b0 e9 65 d3 99 |..~w.#.c|o@...e..|
|000009b0| 6f a8 2f 40 06 83 6e 23 | f2 4d 8f d5 cb 3f f7 de |o./@..n#|.M...?..|
|000009c0| 19 fc 2a 88 69 c6 6d 3f | fe b9 2c 49 34 26 78 39 |..*.i.m?|..,I4&x9|
|000009d0| ce 2b 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.+......|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 01 52 00 d4 00 54 00 0e |........|.R...T..|
|00000a80| 00 00 00 06 00 00 00 00 | ff 01 00 08 00 00 09 02 |........|........|
|00000a90| 00 00 00 01 00 00 00 01 | 00 04 00 00 00 00 00 00 |........|........|
|00000aa0| 00 01 00 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 09 02 | 00 00 00 01 00 00 00 02 |........|........|
|00000ac0| 00 04 00 00 00 00 00 00 | 00 01 00 00 00 01 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 6c 00 00 00 01 00 00 | 00 01 00 00 00 0a 00 00 |.l......|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 09 03 00 00 7d 00 |........|......}.|
|00000b10| 00 00 00 65 00 01 00 00 | 00 0d 49 6e 6e 65 72 20 |...e....|..Inner |
|00000b20| 70 6c 61 6e 65 74 73 03 | 00 00 00 0b 68 72 63 20 |planets.|....hrc |
|00000b30| 20 4f 72 62 69 74 73 ec | 2d 05 00 00 7d 00 00 00 | Orbits.|-...}...|
|00000b40| 00 65 00 00 00 0a f0 50 | 73 65 75 64 6f 6e 79 6d |.e.....P|seudonym|
|00000b50| 00 01 00 00 00 00 00 00 | 00 00 01 f2 ea 76 00 27 |........|.....v.'|
|00000b60| 0a 6e 00 00 00 00 00 27 | 2d 05 00 00 7d 00 00 00 |.n.....'|-...}...|
|00000b70| 00 65 00 00 00 10 61 6f | 63 65 20 64 72 61 67 20 |.e....ao|ce drag |
|00000b80| 73 6f 75 72 63 65 00 00 | 00 00 01 f2 ea 76 00 27 |source..|.....v.'|
|00000b90| 0c dc 00 00 00 00 01 ef | 2d 05 00 00 7d 00 00 00 |........|-...}...|
|00000ba0| 00 65 00 00 00 10 68 72 | 63 20 20 4f 72 62 69 74 |.e....hr|c Orbit|
|00000bb0| 73 20 69 6e 66 6f 00 00 | 00 00 01 f2 ea 76 00 2b |s info..|.....v.+|
|00000bc0| 36 84 00 00 00 00 01 ee | 2d 05 00 00 7d 00 00 00 |6.......|-...}...|
|00000bd0| 00 65 00 00 00 0b 68 72 | 63 20 20 50 6c 61 6e 65 |.e....hr|c Plane|
|00000be0| 74 01 01 e9 8d c0 00 00 | 00 00 01 f2 ea 76 00 27 |t.......|.....v.'|
|00000bf0| 0c dc 00 00 00 00 01 ee | 39 07 00 00 7d 00 00 00 |........|9...}...|
|00000c00| 00 65 00 00 00 0a f0 50 | 73 65 75 64 6f 6e 79 6d |.e.....P|seudonym|
|00000c10| 59 56 01 f4 14 98 00 27 | 00 00 20 00 00 33 1d 22 |YV.....'|.. ..3."|
|00000c20| 00 27 22 b6 00 00 00 00 | 7d 00 00 00 00 66 00 00 |.'".....|}....f..|
|00000c30| 00 00 62 6e 72 79 00 00 | 00 30 00 00 00 02 00 00 |..bnry..|.0......|
|00000c40| 00 02 00 00 00 0d 49 6e | 6e 65 72 20 70 6c 61 6e |......In|ner plan|
|00000c50| 65 74 73 03 00 00 00 12 | 61 6f 63 65 20 42 75 73 |ets.....|aoce Bus|
|00000c60| 69 6e 65 73 73 20 43 61 | 72 64 00 00 00 00 01 ea |iness Ca|rd......|
|00000c70| 01 78 01 48 01 18 00 e8 | 00 b8 00 8a 00 36 00 0e |.x.H....|.....6..|
|00000c80| 00 00 00 02 00 00 00 05 | ff 01 00 02 00 00 39 07 |........|......9.|
|00000c90| 00 00 7d 00 00 00 00 65 | 00 00 00 10 61 6f 63 65 |..}....e|....aoce|
|00000ca0| 20 64 72 61 67 20 73 6f | 75 72 63 65 0e 50 01 ee | drag so|urce.P..|
|00000cb0| fc c8 00 15 cd bc 00 00 | 00 01 00 00 00 00 7d 00 |........|......}.|
|00000cc0| 00 00 00 6c 00 00 00 00 | 64 73 70 63 00 00 01 ea |...l....|dspc....|
|00000cd0| 01 e8 65 6e 74 6e 01 e2 | 01 b6 00 00 00 00 00 00 |..entn..|........|
|00000ce0| 00 05 48 69 6c 66 79 00 | 70 64 69 72 00 00 00 00 |..Hilfy.|pdir....|
|00000cf0| 01 9e ff ff 01 a0 00 02 | 00 00 05 48 69 6c 66 79 |........|...Hilfy|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 a7 d7 | 10 9b 42 44 00 00 00 00 |........|..BD....|
|00000d20| 00 2d 10 50 65 72 73 6f | 6e 61 6c 20 43 61 74 61 |.-.Perso|nal Cata|
|00000d30| 6c 6f 67 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |log.....|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 54 2d a8 c6 | 18 f0 70 61 39 07 00 00 |....T-..|..pa9...|
|00000d70| 7d 00 00 00 00 65 00 00 | 00 10 61 6f 63 65 20 64 |}....e..|..aoce d|
|00000d80| 72 61 67 20 73 6f 75 72 | 63 65 0e 50 01 ee fc c8 |rag sour|ce.P....|
|00000d90| 00 15 cd bc 00 00 00 01 | 00 00 00 00 7d 00 00 00 |........|....}...|
|00000da0| 00 6c 00 00 00 01 62 74 | 6b 6c 30 33 ff ff ff ff |.l....bt|kl03....|
|00000db0| 00 00 00 11 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 10 41 70 70 6c | 65 20 4d 65 6e 75 20 49 |....Appl|e Menu I|
|00000dd0| 74 65 6d 73 00 01 00 08 | 00 00 00 2d 00 00 00 2c |tems....|...-...,|
|00000de0| 00 02 00 35 48 69 6c 66 | 79 3a 53 79 73 74 65 6d |...5Hilf|y:System|
|00000df0| 20 46 6f 6c 64 65 72 3a | 41 70 70 6c 65 20 4d 65 | Folder:|Apple Me|
|00000e00| 6e 75 20 49 74 65 6d 73 | 3a 50 65 72 73 6f 6e 61 |nu Items|:Persona|
|00000e10| 6c 20 43 61 74 61 6c 6f | 67 00 00 09 00 a8 00 a8 |l Catalo|g.......|
|00000e20| 61 66 70 6d 00 00 00 00 | 00 03 00 18 00 39 00 59 |afpm....|.....9.Y|
|00000e30| 00 75 00 95 00 9e 01 2a | 00 00 00 00 00 00 00 00 |.u.....*|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 01 ca 00 ec 00 0e |........|........|
|00000e80| 6e 76 65 6e 69 65 6e 63 | 65 2c 0d 20 20 20 20 20 |nvenienc|e,. |
|00000e90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ea0| 20 20 20 20 72 65 67 69 | 73 74 65 72 20 44 35 20 | regi|ster D5 |
|00000eb0| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 63 75 72 |contains| the cur|
|00000ec0| 72 65 6e 74 20 6d 6f 75 | 73 65 20 6c 6f 63 61 74 |rent mou|se locat|
|00000ed0| 69 6f 6e 2e 0d 0d 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |ion...__|________|
|00000ee0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000ef0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000f00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000f10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000f20| 5f 5f 5f 5f 5f 0d 0d 0d | be 4b 59 20 43 65 6c 6c |_____...|.KY Cell|
|00000f30| c9 53 65 6c 65 63 74 69 | 6f 6e c9 41 6c 67 6f 72 |.Selecti|on.Algor|
|00000f40| 69 74 68 6d 0d be 43 20 | c8 43 45 4c 4c 20 53 45 |ithm..C |.CELL SE|
|00000f50| 4c 45 43 54 49 4f 4e 20 | 41 4c 47 4f 52 49 54 48 |LECTION |ALGORITH|
|00000f60| 4d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |M | |
|00000f70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f80| 4c 69 73 74 4d 61 6e 61 | 67 65 72 50 61 63 6b 61 |ListMana|gerPacka|
|00000f90| 67 65 0d 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |ge._____|________|
|00000fa0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000fb0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000fc0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000fd0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000fe0| 5f 5f 0d 0d 54 68 65 20 | 64 65 66 61 75 6c 74 20 |__..The |default |
|00000ff0| 61 6c 67 6f 72 69 74 68 | 6d 20 75 73 65 64 20 62 |algorith|m used b|
|00001000| 79 20 74 68 65 20 4c 69 | 73 74 20 4d 61 6e 61 67 |y the Li|st Manag|
|00001010| 65 72 20 66 6f 72 20 75 | 73 65 72 20 73 65 6c 65 |er for u|ser sele|
|00001020| 63 74 69 6f 6e 20 6f 66 | 20 63 65 6c 6c 73 20 66 |ction of| cells f|
|00001030| 6f 6c 6c 6f 77 73 0d 74 | 68 65 20 74 65 63 68 6e |ollows.t|he techn|
|00001040| 69 71 75 65 73 20 64 65 | 73 63 72 69 62 65 64 20 |iques de|scribed |
|00001050| 69 6e 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |in the M|acintosh|
|00001060| 20 55 73 65 72 20 49 6e | 74 65 72 66 61 63 65 20 | User In|terface |
|00001070| 47 75 69 64 65 6c 69 6e | 65 73 2c 20 61 73 20 73 |Guidelin|es, as s|
|00001080| 75 6d 6d 61 72 69 7a 65 | 64 0d 62 65 6c 6f 77 2e |ummarize|d.below.|
|00001090| 0d 0d 20 20 31 2e 20 20 | 49 66 20 6e 65 69 74 68 |.. 1. |If neith|
|000010a0| 65 72 20 74 68 65 20 53 | 68 69 66 74 20 6e 6f 72 |er the S|hift nor|
|000010b0| 20 74 68 65 20 43 6f 6d | 6d 61 6e 64 20 6b 65 79 | the Com|mand key|
|000010c0| 20 69 73 20 68 65 6c 64 | 20 64 6f 77 6e 2c 20 61 | is held| down, a|
|000010d0| 20 63 6c 69 63 6b 20 63 | 61 75 73 65 73 0d 20 20 | click c|auses. |
|000010e0| 20 20 20 20 61 6c 6c 20 | 63 75 72 72 65 6e 74 20 | all |current |
|000010f0| 73 65 6c 65 63 74 69 6f | 6e 73 20 74 6f 20 62 65 |selectio|ns to be|
|00001100| 20 64 65 73 65 6c 65 63 | 74 65 64 2c 20 61 6e 64 | deselec|ted, and|
|00001110| 20 74 68 65 20 63 65 6c | 6c 20 72 65 63 65 69 76 | the cel|l receiv|
|00001120| 69 6e 67 20 74 68 65 0d | 20 20 20 20 20 20 63 6c |ing the.| cl|
|00001130| 69 63 6b 20 74 6f 20 62 | 65 20 73 65 6c 65 63 74 |ick to b|e select|
|00001140| 65 64 2e 20 57 68 69 6c | 65 20 74 68 65 20 6d 6f |ed. Whil|e the mo|
|00001150| 75 73 65 20 62 75 74 74 | 6f 6e 20 69 73 20 68 65 |use butt|on is he|
|00001160| 6c 64 20 64 6f 77 6e 20 | 61 6e 64 20 74 68 65 0d |ld down |and the.|
|00001170| 20 20 20 20 20 20 6d 6f | 75 73 65 20 6d 6f 76 65 | mo|use move|
|00001180| 64 20 61 72 6f 75 6e 64 | 2c 20 6f 6e 6c 79 20 74 |d around|, only t|
|00001190| 68 65 20 63 65 6c 6c 20 | 75 6e 64 65 72 20 74 68 |he cell |under th|
|000011a0| 65 20 63 75 72 73 6f 72 | 20 69 73 20 73 65 6c 65 |e cursor| is sele|
|000011b0| 63 74 65 64 2e 0d 0d 20 | 20 32 2e 20 20 49 66 20 |cted... | 2. If |
|000011c0| 74 68 65 20 53 68 69 66 | 74 20 6b 65 79 20 69 73 |the Shif|t key is|
|000011d0| 20 68 65 6c 64 20 64 6f | 77 6e 2c 20 74 68 65 6e | held do|wn, then|
|000011e0| 20 61 73 20 6c 6f 6e 67 | 20 61 73 20 74 68 65 20 | as long| as the |
|000011f0| 6d 6f 75 73 65 20 62 75 | 74 74 6f 6e 20 69 73 0d |mouse bu|tton is.|
|00001200| 20 20 20 20 20 20 64 6f | 77 6e 2c 20 74 68 65 20 | do|wn, the |
|00001210| 4c 69 73 74 20 4d 61 6e | 61 67 65 72 20 65 78 70 |List Man|ager exp|
|00001220| 61 6e 64 73 20 61 6e 64 | 20 73 68 72 69 6e 6b 73 |ands and| shrinks|
|00001230| 20 61 20 73 65 6c 65 63 | 74 65 64 20 72 65 63 74 | a selec|ted rect|
|00001240| 61 6e 67 6c 65 20 74 68 | 61 74 d5 73 0d 20 20 20 |angle th|at.s. |
|00001250| 20 20 20 64 65 66 69 6e | 65 64 20 62 79 20 74 68 | defin|ed by th|
|00001260| 65 20 6d 6f 75 73 65 20 | 6c 6f 63 61 74 69 6f 6e |e mouse |location|
|00001270| 20 61 6e 64 20 74 68 65 | 20 d2 61 6e 63 68 6f 72 | and the| .anchor|
|00001280| d3 2e 20 57 68 65 6e 20 | 74 68 65 20 6d 6f 75 73 |.. When |the mous|
|00001290| 65 20 69 73 20 66 69 72 | 73 74 0d 20 20 20 20 20 |e is fir|st. |
|000012a0| 20 70 72 65 73 73 65 64 | 2c 20 74 68 65 20 4c 69 | pressed|, the Li|
|000012b0| 73 74 20 4d 61 6e 61 67 | 65 72 20 63 61 6c 63 75 |st Manag|er calcu|
|000012c0| 6c 61 74 65 73 20 74 68 | 65 20 73 6d 61 6c 6c 65 |lates th|e smalle|
|000012d0| 73 74 20 72 65 63 74 61 | 6e 67 6c 65 20 74 68 61 |st recta|ngle tha|
|000012e0| 74 20 65 6e 63 6c 6f 73 | 65 73 0d 20 20 20 20 20 |t enclos|es. |
|000012f0| 20 61 6c 6c 20 73 65 6c | 65 63 74 65 64 20 63 65 | all sel|ected ce|
|00001300| 6c 6c 73 2e 20 49 66 20 | 74 68 65 20 63 6c 69 63 |lls. If |the clic|
|00001310| 6b 20 69 73 20 61 62 6f | 76 65 20 6f 72 20 74 6f |k is abo|ve or to|
|00001320| 20 74 68 65 20 6c 65 66 | 74 20 6f 66 20 74 68 69 | the lef|t of thi|
|00001330| 73 0d 20 20 20 20 20 20 | 72 65 63 74 61 6e 67 6c |s. |rectangl|
|00001340| 65 20 28 6f 72 20 6f 6e | 20 74 68 65 20 74 6f 70 |e (or on| the top|
|00001350| 20 6c 65 66 74 20 63 6f | 72 6e 65 72 29 2c 20 74 | left co|rner), t|
|00001360| 68 65 20 62 6f 74 74 6f | 6d 20 72 69 67 68 74 20 |he botto|m right |
|00001370| 63 6f 72 6e 65 72 20 6f | 66 20 74 68 65 0d 20 20 |corner o|f the. |
|00001380| 20 20 20 20 72 65 63 74 | 61 6e 67 6c 65 20 62 65 | rect|angle be|
|00001390| 63 6f 6d 65 73 20 74 68 | 65 20 61 6e 63 68 6f 72 |comes th|e anchor|
|000013a0| 3b 20 6f 74 68 65 72 77 | 69 73 65 20 74 68 65 20 |; otherw|ise the |
|000013b0| 74 6f 70 20 6c 65 66 74 | 20 63 6f 72 6e 65 72 20 |top left| corner |
|000013c0| 62 65 63 6f 6d 65 73 20 | 74 68 65 0d 20 20 20 20 |becomes |the. |
|000013d0| 20 20 61 6e 63 68 6f 72 | 2e 20 28 49 66 20 6e 6f | anchor|. (If no|
|000013e0| 20 63 65 6c 6c 73 20 61 | 72 65 20 73 65 6c 65 63 | cells a|re selec|
|000013f0| 74 65 64 2c 20 74 68 65 | 20 63 6c 69 63 6b 65 64 |ted, the| clicked|
|00001400| 20 63 65 6c 6c 20 69 73 | 20 75 73 65 64 20 61 73 | cell is| used as|
|00001410| 20 74 68 65 0d 20 20 20 | 20 20 20 61 6e 63 68 6f | the. | ancho|
|00001420| 72 2e 29 0d 0d 20 20 33 | 2e 20 20 49 66 20 74 68 |r.).. 3|. If th|
|00001430| 65 20 43 6f 6d 6d 61 6e | 64 20 6b 65 79 20 69 73 |e Comman|d key is|
|00001440| 20 68 65 6c 64 20 64 6f | 77 6e 2c 20 74 68 65 6e | held do|wn, then|
|00001450| 20 77 68 69 6c 65 20 74 | 68 65 20 6d 6f 75 73 65 | while t|he mouse|
|00001460| 20 62 75 74 74 6f 6e 20 | 69 73 20 64 6f 77 6e 2c | button |is down,|
|00001470| 0d 20 20 20 20 20 20 61 | 6c 6c 20 63 65 6c 6c 73 |. a|ll cells|
|00001480| 20 74 68 61 74 20 74 68 | 65 20 6d 6f 75 73 65 20 | that th|e mouse |
|00001490| 70 61 73 73 65 73 20 6f | 76 65 72 20 61 72 65 20 |passes o|ver are |
|000014a0| 65 69 74 68 65 72 20 73 | 65 6c 65 63 74 65 64 20 |either s|elected |
|000014b0| 6f 72 20 64 65 73 65 6c | 65 63 74 65 64 2e 0d 20 |or desel|ected.. |
|000014c0| 20 20 20 20 20 4c 69 6b | 65 20 74 68 65 20 69 6e | Lik|e the in|
|000014d0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 61 20 62 69 74 |version |of a bit|
|000014e0| 20 69 6e 20 61 20 62 69 | 74 6d 61 70 2c 20 69 66 | in a bi|tmap, if|
|000014f0| 20 74 68 65 20 69 6e 69 | 74 69 61 6c 20 63 65 6c | the ini|tial cel|
|00001500| 6c 20 77 61 73 20 6f 66 | 66 2c 0d 20 20 20 20 20 |l was of|f,. |
|00001510| 20 63 65 6c 6c 73 20 61 | 72 65 20 74 75 72 6e 65 | cells a|re turne|
|00001520| 64 20 6f 6e 3b 20 6f 74 | 68 65 72 77 69 73 65 20 |d on; ot|herwise |
|00001530| 74 68 65 79 d5 72 65 20 | 74 75 72 6e 65 64 20 6f |they.re |turned o|
|00001540| 66 66 2e 0d 0d 54 68 65 | 20 73 65 6c 46 6c 61 67 |ff...The| selFlag|
|00001550| 73 20 62 79 74 65 2c 20 | 69 6e 69 74 69 61 6c 69 |s byte, |initiali|
|00001560| 7a 65 64 20 74 6f 20 30 | 20 62 79 20 74 68 65 20 |zed to 0| by the |
|00001570| 4c 69 73 74 20 4d 61 6e | 61 67 65 72 2c 20 63 6f |List Man|ager, co|
|00001580| 6e 74 61 69 6e 73 20 66 | 6c 61 67 73 20 74 68 61 |ntains f|lags tha|
|00001590| 74 20 6c 65 74 20 79 6f | 75 0d 63 68 61 6e 67 65 |t let yo|u.change|
|000015a0| 20 74 68 65 20 77 61 79 | 20 73 65 6c 65 63 74 69 | the way| selecti|
|000015b0| 6f 6e 73 20 77 6f 72 6b | 2e 20 45 61 63 68 20 66 |ons work|. Each f|
|000015c0| 6c 61 67 20 69 73 20 73 | 70 65 63 69 66 69 65 64 |lag is s|pecified|
|000015d0| 20 62 79 20 61 20 62 69 | 74 2c 20 61 73 20 69 6c | by a bi|t, as il|
|000015e0| 6c 75 73 74 72 61 74 65 | 64 20 69 6e 0d 46 69 67 |lustrate|d in.Fig|
|000015f0| 75 72 65 20 32 2e 0d 0d | a5 a5 a5 52 65 66 65 72 |ure 2...|...Refer|
|00001600| 20 74 6f 20 46 69 67 75 | 72 65 20 32 2e a5 a5 a5 | to Figu|re 2....|
|00001610| 0d 0d 46 69 67 75 72 65 | 20 32 d0 53 65 6c 65 63 |..Figure| 2.Selec|
|00001620| 74 69 6f 6e 20 46 6c 61 | 67 73 0d 0d 54 68 65 20 |tion Fla|gs..The |
|00001630| 4c 69 73 74 20 4d 61 6e | 61 67 65 72 20 70 72 6f |List Man|ager pro|
|00001640| 76 69 64 65 73 20 61 20 | 70 72 65 64 65 66 69 6e |vides a |predefin|
|00001650| 65 64 20 63 6f 6e 73 74 | 61 6e 74 20 66 6f 72 20 |ed const|ant for |
|00001660| 65 61 63 68 20 66 6c 61 | 67 2c 20 69 6e 20 77 68 |each fla|g, in wh|
|00001670| 69 63 68 20 74 68 65 20 | 62 69 74 0d 63 6f 72 72 |ich the |bit.corr|
|00001680| 65 73 70 6f 6e 64 69 6e | 67 20 74 6f 20 74 68 61 |espondin|g to tha|
|00001690| 74 20 66 6c 61 67 20 69 | 73 20 73 65 74 2e 0d 0d |t flag i|s set...|
|000016a0| 43 4f 4e 53 54 20 20 6c | 4f 6e 6c 79 4f 6e 65 20 |CONST l|OnlyOne |
|000016b0| 20 20 20 20 3d 20 d0 31 | 32 38 3b 20 20 7b 73 65 | = .1|28; {se|
|000016c0| 74 20 69 66 20 6f 6e 6c | 79 20 6f 6e 65 20 73 65 |t if onl|y one se|
|000016d0| 6c 65 63 74 69 6f 6e 20 | 61 74 20 61 20 74 69 6d |lection |at a tim|
|000016e0| 65 7d 0d 20 20 20 20 20 | 20 20 6c 45 78 74 65 6e |e}. | lExten|
|000016f0| 64 44 72 61 67 20 20 3d | 20 36 34 3b 20 20 20 20 |dDrag =| 64; |
|00001700| 7b 73 65 74 20 66 6f 72 | 20 64 72 61 67 67 69 6e |{set for| draggin|
|00001710| 67 20 77 69 74 68 6f 75 | 74 20 53 68 69 66 74 20 |g withou|t Shift |
|00001720| 6b 65 79 7d 0d 20 20 20 | 20 20 20 20 6c 4e 6f 44 |key}. | lNoD|
|00001730| 69 73 6a 6f 69 6e 74 20 | 20 3d 20 33 32 3b 20 20 |isjoint | = 32; |
|00001740| 20 20 7b 73 65 74 20 74 | 6f 20 74 75 72 6e 20 6f | {set t|o turn o|
|00001750| 66 66 20 6d 75 6c 74 69 | 70 6c 65 20 73 65 6c 65 |ff multi|ple sele|
|00001760| 63 74 69 6f 6e 73 20 77 | 69 74 68 20 63 6c 69 63 |ctions w|ith clic|
|00001770| 6b 7d 0d 20 20 20 20 20 | 20 20 6c 4e 6f 45 78 74 |k}. | lNoExt|
|00001780| 65 6e 64 20 20 20 20 3d | 20 31 36 3b 20 20 20 20 |end =| 16; |
|00001790| 7b 73 65 74 20 74 6f 20 | 6e 6f 74 20 65 78 74 65 |{set to |not exte|
|000017a0| 6e 64 20 53 68 69 66 74 | 20 73 65 6c 65 63 74 69 |nd Shift| selecti|
|000017b0| 6f 6e 73 7d 0d 20 20 20 | 20 20 20 20 6c 4e 6f 52 |ons}. | lNoR|
|000017c0| 65 63 74 20 20 20 20 20 | 20 3d 20 38 3b 20 20 20 |ect | = 8; |
|000017d0| 20 20 7b 73 65 74 20 74 | 6f 20 6e 6f 74 20 65 78 | {set t|o not ex|
|000017e0| 70 61 6e 64 20 73 65 6c | 65 63 74 69 6f 6e 73 20 |pand sel|ections |
|000017f0| 61 73 20 72 65 63 74 61 | 6e 67 6c 65 73 7d 0d 20 |as recta|ngles}. |
|00001800| 20 20 20 20 20 20 6c 55 | 73 65 53 65 6e 73 65 20 | lU|seSense |
|00001810| 20 20 20 3d 20 34 3b 20 | 20 20 20 20 7b 73 65 74 | = 4; | {set|
|00001820| 20 66 6f 72 20 53 68 69 | 66 74 20 74 6f 20 75 73 | for Shi|ft to us|
|00001830| 65 20 73 65 6e 73 65 20 | 6f 66 20 66 69 72 73 74 |e sense |of first|
|00001840| 20 63 65 6c 6c 7d 0d 20 | 20 20 20 20 20 20 6c 4e | cell}. | lN|
|00001850| 6f 4e 69 6c 48 69 6c 69 | 74 65 20 3d 20 32 3b 20 |oNilHili|te = 2; |
|00001860| 20 20 20 20 7b 73 65 74 | 20 74 6f 20 6e 6f 74 20 | {set| to not |
|00001870| 68 69 67 68 6c 69 67 68 | 74 20 65 6d 70 74 79 20 |highligh|t empty |
|00001880| 63 65 6c 6c 73 7d 0d 0d | 53 65 74 74 69 6e 67 20 |cells}..|Setting |
|00001890| 6f 6e 65 20 6f 72 20 6d | 6f 72 65 20 6f 66 20 62 |one or m|ore of b|
|000018a0| 69 74 73 20 35 d0 37 20 | 6d 6f 64 69 66 69 65 73 |its 5.7 |modifies|
|000018b0| 20 74 68 65 20 73 65 6c | 65 63 74 69 6f 6e 20 61 | the sel|ection a|
|000018c0| 6c 67 6f 72 69 74 68 6d | 20 69 6e 20 74 68 65 20 |lgorithm| in the |
|000018d0| 66 6f 6c 6c 6f 77 69 6e | 67 0d 77 61 79 73 3a 0d |followin|g.ways:.|
|000018e0| 0d 20 20 a5 20 20 49 66 | 20 79 6f 75 20 73 65 74 |. . If| you set|
|000018f0| 20 74 68 65 20 6c 4f 6e | 6c 79 4f 6e 65 20 62 69 | the lOn|lyOne bi|
|00001900| 74 2c 20 6f 6e 6c 79 20 | 6f 6e 65 20 63 65 6c 6c |t, only |one cell|
|00001910| 20 63 61 6e 20 62 65 20 | 73 65 6c 65 63 74 65 64 | can be |selected|
|00001920| 20 61 74 20 61 20 74 69 | 6d 65 2e 0d 20 20 a5 20 | at a ti|me.. . |
|00001930| 20 49 66 20 79 6f 75 20 | 73 65 74 20 74 68 65 20 | If you |set the |
|00001940| 6c 4e 6f 44 69 73 6a 6f | 69 6e 74 20 62 69 74 2c |lNoDisjo|int bit,|
|00001950| 20 6d 75 6c 74 69 70 6c | 65 20 63 65 6c 6c 73 20 | multipl|e cells |
|00001960| 63 61 6e 20 62 65 20 73 | 65 6c 65 63 74 65 64 2c |can be s|elected,|
|00001970| 20 62 75 74 0d 20 20 20 | 20 20 65 76 65 72 79 74 | but. | everyt|
|00001980| 68 69 6e 67 20 69 73 20 | 64 65 73 65 6c 65 63 74 |hing is |deselect|
|00001990| 65 64 20 77 68 65 6e 20 | 74 68 65 20 6d 6f 75 73 |ed when |the mous|
|000019a0| 65 20 62 75 74 74 6f 6e | 20 69 73 20 70 72 65 73 |e button| is pres|
|000019b0| 73 65 64 20 28 65 76 65 | 6e 20 69 66 0d 20 20 20 |sed (eve|n if. |
|000019c0| 20 20 74 68 65 20 53 68 | 69 66 74 20 6f 72 20 43 | the Sh|ift or C|
|000019d0| 6f 6d 6d 61 6e 64 20 6b | 65 79 73 20 61 72 65 20 |ommand k|eys are |
|000019e0| 68 65 6c 64 20 64 6f 77 | 6e 29 2e 0d 20 20 a5 20 |held dow|n).. . |
|000019f0| 20 49 66 20 79 6f 75 20 | 73 65 74 20 74 68 65 20 | If you |set the |
|00001a00| 6c 45 78 74 65 6e 64 44 | 72 61 67 20 62 69 74 2c |lExtendD|rag bit,|
|00001a10| 20 63 6c 69 63 6b 69 6e | 67 20 61 6e 64 20 64 72 | clickin|g and dr|
|00001a20| 61 67 67 69 6e 67 20 73 | 65 6c 65 63 74 73 20 61 |agging s|elects a|
|00001a30| 6c 6c 0d 20 20 20 20 20 | 63 65 6c 6c 73 20 69 6e |ll. |cells in|
|00001a40| 20 69 74 73 20 70 61 74 | 68 2e 20 28 49 74 20 77 | its pat|h. (It w|
|00001a50| 6f 72 6b 73 20 62 65 73 | 74 20 69 66 20 79 6f 75 |orks bes|t if you|
|00001a60| 20 61 6c 73 6f 20 73 65 | 74 20 6c 4e 6f 44 69 73 | also se|t lNoDis|
|00001a70| 6a 6f 69 6e 74 2c 20 6c | 4e 6f 52 65 63 74 2c 0d |joint, l|NoRect,.|
|00001a80| 20 20 20 20 20 6c 55 73 | 65 53 65 6e 73 65 2c 20 | lUs|eSense, |
|00001a90| 61 6e 64 20 6c 4e 6f 45 | 78 74 65 6e 64 2e 29 0d |and lNoE|xtend.).|
|00001aa0| 0d 42 69 74 73 20 32 d0 | 34 20 61 66 66 65 63 74 |.Bits 2.|4 affect|
|00001ab0| 20 53 68 69 66 74 20 73 | 65 6c 65 63 74 69 6f 6e | Shift s|election|
|00001ac0| 2e 20 49 66 20 61 6c 6c | 20 74 68 72 65 65 20 61 |. If all| three a|
|00001ad0| 72 65 20 73 65 74 2c 20 | 53 68 69 66 74 20 73 65 |re set, |Shift se|
|00001ae0| 6c 65 63 74 69 6f 6e 20 | 77 6f 72 6b 73 20 65 78 |lection |works ex|
|00001af0| 61 63 74 6c 79 0d 6c 69 | 6b 65 20 43 6f 6d 6d 61 |actly.li|ke Comma|
|00001b00| 6e 64 20 73 65 6c 65 63 | 74 69 6f 6e 2e 0d 0d 20 |nd selec|tion... |
|00001b10| 20 a5 20 20 49 66 20 79 | 6f 75 20 73 65 74 20 74 | . If y|ou set t|
|00001b20| 68 65 20 6c 4e 6f 52 65 | 63 74 20 62 69 74 2c 20 |he lNoRe|ct bit, |
|00001b30| 53 68 69 66 74 20 73 65 | 6c 65 63 74 69 6f 6e 73 |Shift se|lections|
|00001b40| 20 61 72 65 20 6e 6f 74 | 20 64 72 61 67 67 65 64 | are not| dragged|
|00001b50| 20 6f 75 74 20 61 73 0d | 20 20 20 20 20 72 65 63 | out as.| rec|
|00001b60| 74 61 6e 67 6c 65 73 2c | 20 62 75 74 20 69 6e 73 |tangles,| but ins|
|00001b70| 74 65 61 64 20 73 65 6c | 65 63 74 20 65 76 65 72 |tead sel|ect ever|
|00001b80| 79 74 68 69 6e 67 20 74 | 68 65 79 20 70 61 73 73 |ything t|hey pass|
|00001b90| 20 6f 76 65 72 2e 20 54 | 68 65 79 20 75 73 65 20 | over. T|hey use |
|00001ba0| 74 68 65 0d 20 20 20 20 | 20 61 6e 63 68 6f 72 20 |the. | anchor |
|00001bb0| 70 6f 69 6e 74 2c 20 62 | 75 74 20 64 6f 20 6e 6f |point, b|ut do no|
|00001bc0| 74 20 73 68 72 69 6e 6b | 20 73 65 6c 65 63 74 69 |t shrink| selecti|
|00001bd0| 6f 6e 73 20 77 68 65 6e | 20 79 6f 75 20 62 61 63 |ons when| you bac|
|00001be0| 6b 20 6f 76 65 72 20 74 | 68 65 6d 2e 0d 20 20 a5 |k over t|hem.. .|
|00001bf0| 20 20 49 66 20 79 6f 75 | 20 73 65 74 20 74 68 65 | If you| set the|
|00001c00| 20 6c 4e 6f 45 78 74 65 | 6e 64 20 62 69 74 2c 20 | lNoExte|nd bit, |
|00001c10| 74 68 65 20 63 6c 69 63 | 6b 20 69 73 20 75 73 65 |the clic|k is use|
|00001c20| 64 20 61 73 20 74 68 65 | 20 61 6e 63 68 6f 72 20 |d as the| anchor |
|00001c30| 70 6f 69 6e 74 20 66 6f | 72 0d 20 20 20 20 20 53 |point fo|r. S|
|00001c40| 68 69 66 74 20 73 65 6c | 65 63 74 69 6f 6e 73 2c |hift sel|ections,|
|00001c50| 20 61 6e 64 20 63 75 72 | 72 65 6e 74 20 73 65 6c | and cur|rent sel|
|00001c60| 65 63 74 69 6f 6e 73 20 | 61 72 65 20 69 67 6e 6f |ections |are igno|
|00001c70| 72 65 64 2e 0d 20 20 a5 | 20 20 49 66 20 79 6f 75 |red.. .| If you|
|00001c80| 20 73 65 74 20 74 68 65 | 20 6c 55 73 65 53 65 6e | set the| lUseSen|
|00001c90| 73 65 20 62 69 74 2c 20 | 74 68 65 20 63 65 6c 6c |se bit, |the cell|
|00001ca0| 20 74 68 61 74 d5 73 20 | 63 6c 69 63 6b 65 64 20 | that.s |clicked |
|00001cb0| 64 65 74 65 72 6d 69 6e | 65 73 0d 20 20 20 20 20 |determin|es. |
|00001cc0| 77 68 65 74 68 65 72 20 | 63 65 6c 6c 73 20 61 72 |whether |cells ar|
|00001cd0| 65 20 74 75 72 6e 65 64 | 20 6f 66 66 20 6f 72 20 |e turned| off or |
|00001ce0| 6f 6e 2e 0d 0d 42 69 74 | 20 31 2c 20 74 68 65 20 |on...Bit| 1, the |
|00001cf0| 6c 4e 6f 4e 69 6c 48 69 | 6c 69 74 65 20 62 69 74 |lNoNilHi|lite bit|
|00001d00| 2c 20 64 65 74 65 72 6d | 69 6e 65 73 20 77 68 65 |, determ|ines whe|
|00001d10| 74 68 65 72 20 6f 72 20 | 6e 6f 74 20 65 6d 70 74 |ther or |not empt|
|00001d20| 79 20 63 65 6c 6c 73 20 | 63 61 6e 20 62 65 20 73 |y cells |can be s|
|00001d30| 65 6c 65 63 74 65 64 2e | 0d 49 66 20 79 6f 75 20 |elected.|.If you |
|00001d40| 73 65 74 20 74 68 69 73 | 20 62 69 74 2c 20 63 65 |set this| bit, ce|
|00001d50| 6c 6c 73 20 6e 6f 74 20 | 63 6f 6e 74 61 69 6e 69 |lls not |containi|
|00001d60| 6e 67 20 64 61 74 61 20 | 63 61 6e 6e 6f 74 20 62 |ng data |cannot b|
|00001d70| 65 20 73 65 6c 65 63 74 | 65 64 0d 28 74 68 61 74 |e select|ed.(that|
|00001d80| 20 69 73 2c 20 74 68 65 | 20 6c 69 73 74 20 64 65 | is, the| list de|
|00001d90| 66 69 6e 69 74 69 6f 6e | 20 70 72 6f 63 65 64 75 |finition| procedu|
|00001da0| 72 65 20 69 73 6e d5 74 | 20 63 61 6c 6c 65 64 20 |re isn.t| called |
|00001db0| 74 6f 20 68 69 67 68 6c | 69 67 68 74 20 65 6d 70 |to highl|ight emp|
|00001dc0| 74 79 20 63 65 6c 6c 73 | 29 2e 0d 0d 4e 6f 74 65 |ty cells|)...Note|
|00001dd0| 3a 20 20 46 6f 72 20 74 | 68 65 20 63 6f 6e 76 65 |: For t|he conve|
|00001de0| 6e 69 65 6e 63 65 20 6f | 66 20 79 6f 75 72 20 61 |nience o|f your a|
|00001df0| 70 70 6c 69 63 61 74 69 | 6f 6e d5 73 20 75 73 65 |pplicati|on.s use|
|00001e00| 72 2c 20 72 65 6d 65 6d | 62 65 72 20 74 6f 20 63 |r, remem|ber to c|
|00001e10| 6f 6e 66 6f 72 6d 0d 20 | 20 20 20 20 20 20 74 6f |onform. | to|
|00001e20| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 55 | the Mac|intosh U|
|00001e30| 73 65 72 20 49 6e 74 65 | 72 66 61 63 65 20 47 75 |ser Inte|rface Gu|
|00001e40| 69 64 65 6c 69 6e 65 73 | 20 66 6f 72 20 73 65 6c |idelines| for sel|
|00001e50| 65 63 74 69 6f 6e 2e 0d | 0d 5f 5f 5f 5f 5f 5f 5f |ection..|._______|
|00001e60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001e70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001e80| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001e90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001ea0| 5f 5f 5f 5f 5f 5f 5f 5f | 0d 0d 0d be 4b 59 20 55 |________|....KY U|
|00001eb0| 73 69 6e 67 c9 74 68 65 | c9 4c 69 73 74 c9 4d 61 |sing.the|.List.Ma|
|00001ec0| 6e 61 67 65 72 c9 50 61 | 63 6b 61 67 65 0d be 43 |nager.Pa|ckage..C|
|00001ed0| 20 c8 55 53 49 4e 47 20 | 54 48 45 20 4c 49 53 54 | .USING |THE LIST|
|00001ee0| 20 4d 41 4e 41 47 45 52 | 20 50 41 43 4b 41 47 45 | MANAGER| PACKAGE|
|00001ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f00| 20 20 20 20 20 20 20 20 | 20 4c 69 73 74 4d 61 6e | | ListMan|
|00001f10| 61 67 65 72 50 61 63 6b | 61 67 65 0d 5f 5f 5f 5f |agerPack|age.____|
|00001f20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f30| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f40| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f50| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001f60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 0d 0d 54 68 65 |________|___..The|
|00001f70| 20 4c 69 73 74 20 4d 61 | 6e 61 67 65 72 20 50 61 | List Ma|nager Pa|
|00001f80| 63 6b 61 67 65 20 69 73 | 20 61 75 74 6f 6d 61 74 |ckage is| automat|
|00001f90| 69 63 61 6c 6c 79 20 72 | 65 61 64 20 69 6e 74 6f |ically r|ead into|
|00001fa0| 20 6d 65 6d 6f 72 79 20 | 66 72 6f 6d 20 74 68 65 | memory |from the|
|00001fb0| 20 73 79 73 74 65 6d 20 | 72 65 73 6f 75 72 63 65 | system |resource|
|00001fc0| 0d 66 69 6c 65 20 77 68 | 65 6e 20 6f 6e 65 20 6f |.file wh|en one o|
|00001fd0| 66 20 69 74 73 20 72 6f | 75 74 69 6e 65 73 20 69 |f its ro|utines i|
|00001fe0| 73 20 63 61 6c 6c 65 64 | 3b 20 69 74 20 6f 63 63 |s called|; it occ|
|00001ff0| 75 70 69 65 73 20 61 20 | 74 6f 74 61 6c 20 6f 66 |upies a |total of|
|00002000| 20 61 62 6f 75 74 20 35 | 4b 20 62 79 74 65 73 2e | about 5|K bytes.|
|00002010| 0d 0d 42 65 66 6f 72 65 | 20 75 73 69 6e 67 20 74 |..Before| using t|
|00002020| 68 65 20 4c 69 73 74 20 | 4d 61 6e 61 67 65 72 2c |he List |Manager,|
|00002030| 20 79 6f 75 20 6d 75 73 | 74 20 69 6e 69 74 69 61 | you mus|t initia|
|00002040| 6c 69 7a 65 20 51 75 69 | 63 6b 44 72 61 77 2c 20 |lize Qui|ckDraw, |
|00002050| 74 68 65 20 46 6f 6e 74 | 20 4d 61 6e 61 67 65 72 |the Font| Manager|
|00002060| 2c 20 74 68 65 0d 57 69 | 6e 64 6f 77 20 4d 61 6e |, the.Wi|ndow Man|
|00002070| 61 67 65 72 2c 20 74 68 | 65 20 4d 65 6e 75 20 4d |ager, th|e Menu M|
|00002080| 61 6e 61 67 65 72 2c 20 | 61 6e 64 20 54 65 78 74 |anager, |and Text|
|00002090| 45 64 69 74 2c 20 69 6e | 20 74 68 61 74 20 6f 72 |Edit, in| that or|
|000020a0| 64 65 72 2e 0d 0d 42 65 | 66 6f 72 65 20 63 72 65 |der...Be|fore cre|
|000020b0| 61 74 69 6e 67 20 61 20 | 6c 69 73 74 2c 20 79 6f |ating a |list, yo|
|000020c0| 75 20 6d 75 73 74 20 63 | 72 65 61 74 65 20 61 20 |u must c|reate a |
|000020d0| 77 69 6e 64 6f 77 20 69 | 6e 20 77 68 69 63 68 20 |window i|n which |
|000020e0| 74 68 65 20 64 72 61 77 | 69 6e 67 20 77 69 6c 6c |the draw|ing will|
|000020f0| 20 74 61 6b 65 0d 70 6c | 61 63 65 2e 20 54 6f 20 | take.pl|ace. To |
|00002100| 63 72 65 61 74 65 20 61 | 20 6e 65 77 20 6c 69 73 |create a| new lis|
|00002110| 74 2c 20 63 61 6c 6c 20 | 74 68 65 20 4c 4e 65 77 |t, call |the LNew|
|00002120| 20 66 75 6e 63 74 69 6f | 6e 2e 20 57 68 65 6e 20 | functio|n. When |
|00002130| 79 6f 75 d5 72 65 20 64 | 6f 6e 65 20 75 73 69 6e |you.re d|one usin|
|00002140| 67 20 61 20 6c 69 73 74 | 2c 0d 79 6f 75 20 73 68 |g a list|,.you sh|
|00002150| 6f 75 6c 64 20 64 69 73 | 70 6f 73 65 20 6f 66 20 |ould dis|pose of |
|00002160| 69 74 73 20 64 61 74 61 | 20 77 69 74 68 20 4c 44 |its data| with LD|
|00002170| 69 73 70 6f 73 65 2e 20 | 42 65 66 6f 72 65 20 79 |ispose. |Before y|
|00002180| 6f 75 20 64 69 73 70 6f | 73 65 20 6f 66 20 74 68 |ou dispo|se of th|
|00002190| 65 20 6c 69 73 74 2c 20 | 6d 61 6b 65 0d 73 75 72 |e list, |make.sur|
|000021a0| 65 20 79 6f 75 20 64 69 | 73 70 6f 73 65 20 6f 66 |e you di|spose of|
|000021b0| 20 61 6e 79 20 64 61 74 | 61 20 74 68 61 74 20 79 | any dat|a that y|
|000021c0| 6f 75 20 6d 61 79 20 68 | 61 76 65 20 73 74 6f 72 |ou may h|ave stor|
|000021d0| 65 64 20 69 6e 20 74 68 | 65 20 75 73 65 72 48 61 |ed in th|e userHa|
|000021e0| 6e 64 6c 65 20 6f 72 20 | 72 65 66 43 6f 6e 0d 66 |ndle or |refCon.f|
|000021f0| 69 65 6c 64 73 20 6f 66 | 20 74 68 65 20 6c 69 73 |ields of| the lis|
|00002200| 74 20 72 65 63 6f 72 64 | 2e 0d 0d 54 6f 20 63 68 |t record|...To ch|
|00002210| 61 6e 67 65 20 74 68 65 | 20 73 69 7a 65 20 6f 66 |ange the| size of|
|00002220| 20 61 20 6c 69 73 74 d5 | 73 20 63 65 6c 6c 73 2c | a list.|s cells,|
|00002230| 20 63 61 6c 6c 20 4c 43 | 65 6c 6c 53 69 7a 65 2e | call LC|ellSize.|
|00002240| 0d 0d 54 68 65 20 70 72 | 6f 63 65 64 75 72 65 20 |..The pr|ocedure |
|00002250| 4c 44 6f 44 72 61 77 20 | 63 6f 6e 74 72 6f 6c 73 |LDoDraw |controls|
|00002260| 20 77 68 65 74 68 65 72 | 20 6f 70 65 72 61 74 69 | whether| operati|
|00002270| 6f 6e 73 20 70 65 72 66 | 6f 72 6d 65 64 20 6f 6e |ons perf|ormed on|
|00002280| 20 63 65 6c 6c 73 20 62 | 79 20 4c 69 73 74 20 4d | cells b|y List M|
|00002290| 61 6e 61 67 65 72 0d 72 | 6f 75 74 69 6e 65 73 20 |anager.r|outines |
|000022a0| 63 61 75 73 65 20 64 72 | 61 77 69 6e 67 20 6f 6e |cause dr|awing on|
|000022b0| 20 74 68 65 20 73 63 72 | 65 65 6e 2e 0d 0d 54 6f | the scr|een...To|
|000022c0| 20 61 64 64 20 72 6f 77 | 73 20 6f 72 20 63 6f 6c | add row|s or col|
|000022d0| 75 6d 6e 73 20 74 6f 20 | 74 68 65 20 6c 69 73 74 |umns to |the list|
|000022e0| 2c 20 63 61 6c 6c 20 4c | 41 64 64 52 6f 77 20 61 |, call L|AddRow a|
|000022f0| 6e 64 20 4c 41 64 64 43 | 6f 6c 75 6d 6e 2e 20 54 |nd LAddC|olumn. T|
|00002300| 6f 20 64 65 6c 65 74 65 | 20 72 6f 77 73 20 6f 72 |o delete| rows or|
|00002310| 0d 63 6f 6c 75 6d 6e 73 | 2c 20 63 61 6c 6c 20 4c |.columns|, call L|
|00002320| 44 65 6c 52 6f 77 20 61 | 6e 64 20 4c 44 65 6c 43 |DelRow a|nd LDelC|
|00002330| 6f 6c 75 6d 6e 2e 20 54 | 68 65 73 65 20 72 6f 75 |olumn. T|hese rou|
|00002340| 74 69 6e 65 73 20 64 6f | 20 61 6c 6c 20 6e 65 63 |tines do| all nec|
|00002350| 65 73 73 61 72 79 20 75 | 70 64 61 74 69 6e 67 20 |essary u|pdating |
|00002360| 6f 66 20 74 68 65 0d 73 | 63 72 65 65 6e 20 69 66 |of the.s|creen if|
|00002370| 20 79 6f 75 d5 76 65 20 | 73 65 74 20 64 72 61 77 | you.ve |set draw|
|00002380| 69 6e 67 20 6f 6e 20 77 | 69 74 68 20 4c 44 6f 44 |ing on w|ith LDoD|
|00002390| 72 61 77 2e 0d 0d 54 6f | 20 61 73 73 69 67 6e 20 |raw...To| assign |
|000023a0| 61 20 76 61 6c 75 65 20 | 74 6f 20 61 20 63 65 6c |a value |to a cel|
|000023b0| 6c 2c 20 63 61 6c 6c 20 | 74 68 65 20 70 72 6f 63 |l, call |the proc|
|000023c0| 65 64 75 72 65 20 4c 53 | 65 74 43 65 6c 6c 2e 20 |edure LS|etCell. |
|000023d0| 54 6f 20 61 70 70 65 6e | 64 20 64 61 74 61 20 74 |To appen|d data t|
|000023e0| 6f 20 61 20 63 65 6c 6c | 2c 0d 79 6f 75 20 63 61 |o a cell|,.you ca|
|000023f0| 6e 20 63 61 6c 6c 20 4c | 41 64 64 54 6f 43 65 6c |n call L|AddToCel|
|00002400| 6c 3b 20 74 6f 20 63 6c | 65 61 72 20 74 68 65 20 |l; to cl|ear the |
|00002410| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 61 20 63 65 |contents| of a ce|
|00002420| 6c 6c 2c 20 63 61 6c 6c | 20 4c 43 6c 72 43 65 6c |ll, call| LClrCel|
|00002430| 6c 2e 20 54 6f 20 67 65 | 74 20 61 0d 63 65 6c 6c |l. To ge|t a.cell|
|00002440| d5 73 20 64 61 74 61 2c | 20 63 61 6c 6c 20 4c 47 |.s data,| call LG|
|00002450| 65 74 43 65 6c 6c 2e 20 | 54 68 65 20 6e 65 77 20 |etCell. |The new |
|00002460| 76 61 6c 75 65 20 6f 66 | 20 61 20 63 65 6c 6c 20 |value of| a cell |
|00002470| 69 73 20 64 69 73 70 6c | 61 79 65 64 20 69 66 20 |is displ|ayed if |
|00002480| 79 6f 75 d5 76 65 20 73 | 65 74 20 64 72 61 77 69 |you.ve s|et drawi|
|00002490| 6e 67 0d 6f 6e 2e 0d 0d | 57 61 72 6e 69 6e 67 3a |ng.on...|Warning:|
|000024a0| 20 20 49 66 20 79 6f 75 | 20 61 64 64 20 6f 72 20 | If you| add or |
|000024b0| 64 65 6c 65 74 65 20 72 | 6f 77 73 20 6f 72 20 63 |delete r|ows or c|
|000024c0| 6f 6c 75 6d 6e 73 2c 20 | 63 68 61 6e 67 65 20 74 |olumns, |change t|
|000024d0| 68 65 20 64 61 74 61 20 | 69 6e 20 61 20 63 65 6c |he data |in a cel|
|000024e0| 6c 2c 0d 20 20 20 20 20 | 20 20 20 20 20 6f 72 20 |l,. | or |
|000024f0| 63 61 6c 6c 20 61 20 72 | 6f 75 74 69 6e 65 20 74 |call a r|outine t|
|00002500| 68 61 74 20 6d 61 79 20 | 6d 6f 76 65 20 6f 72 20 |hat may |move or |
|00002510| 70 75 72 67 65 20 6d 65 | 6d 6f 72 79 2c 20 70 6f |purge me|mory, po|
|00002520| 69 6e 74 65 72 73 20 28 | 74 6f 20 61 0d 20 20 20 |inters (|to a. |
|00002530| 20 20 20 20 20 20 20 63 | 65 6c 6c d5 73 20 64 61 | c|ell.s da|
|00002540| 74 61 29 20 6f 62 74 61 | 69 6e 65 64 20 62 79 20 |ta) obta|ined by |
|00002550| 65 61 72 6c 69 65 72 20 | 63 61 6c 6c 73 20 74 6f |earlier |calls to|
|00002560| 20 74 68 65 20 4c 69 73 | 74 20 4d 61 6e 61 67 65 | the Lis|t Manage|
|00002570| 72 20 6d 61 79 0d 20 20 | 20 20 20 20 20 20 20 20 |r may. | |
|00002580| 6e 6f 20 6c 6f 6e 67 65 | 72 20 62 65 20 76 61 6c |no longe|r be val|
|00002590| 69 64 2e 0d 0d 54 6f 20 | 73 65 6c 65 63 74 20 6f |id...To |select o|
|000025a0| 72 20 64 65 73 65 6c 65 | 63 74 20 61 20 63 65 6c |r desele|ct a cel|
|000025b0| 6c 2c 20 63 61 6c 6c 20 | 4c 53 65 74 53 65 6c 65 |l, call |LSetSele|
|000025c0| 63 74 2e 20 54 6f 20 64 | 65 74 65 72 6d 69 6e 65 |ct. To d|etermine|
|000025d0| 20 77 68 65 74 68 65 72 | 20 6f 72 20 6e 6f 74 20 | whether| or not |
|000025e0| 61 20 63 65 6c 6c 20 69 | 73 0d 73 65 6c 65 63 74 |a cell i|s.select|
|000025f0| 65 64 2c 20 63 61 6c 6c | 20 4c 47 65 74 53 65 6c |ed, call| LGetSel|
|00002600| 65 63 74 2e 20 4c 47 65 | 74 53 65 6c 65 63 74 20 |ect. LGe|tSelect |
|00002610| 63 61 6e 20 61 6c 73 6f | 20 62 65 20 75 73 65 64 |can also| be used|
|00002620| 20 74 6f 20 66 69 6e 64 | 20 74 68 65 20 6e 65 78 | to find| the nex|
|00002630| 74 20 73 65 6c 65 63 74 | 65 64 20 63 65 6c 6c 0d |t select|ed cell.|
|00002640| 69 6e 20 74 68 65 20 6c | 69 73 74 2e 0d 0d 54 68 |in the l|ist...Th|
|00002650| 65 20 57 69 6e 64 6f 77 | 20 4d 61 6e 61 67 65 72 |e Window| Manager|
|00002660| 20 4e 65 77 57 69 6e 64 | 6f 77 20 6f 72 20 47 65 | NewWind|ow or Ge|
|00002670| 74 4e 65 77 57 69 6e 64 | 6f 77 20 63 61 6c 6c 20 |tNewWind|ow call |
|00002680| 67 65 6e 65 72 61 74 65 | 73 20 61 6e 20 75 70 64 |generate|s an upd|
|00002690| 61 74 65 20 65 76 65 6e | 74 20 66 6f 72 20 74 68 |ate even|t for th|
|000026a0| 65 0d 65 6e 74 69 72 65 | 20 77 69 6e 64 6f 77 2e |e.entire| window.|
|000026b0| 20 43 61 6c 6c 20 4c 55 | 70 64 61 74 65 20 69 6e | Call LU|pdate in|
|000026c0| 20 72 65 73 70 6f 6e 73 | 65 20 74 6f 20 74 68 65 | respons|e to the|
|000026d0| 20 75 70 64 61 74 65 20 | 65 76 65 6e 74 2c 20 61 | update |event, a|
|000026e0| 6e 64 20 61 6c 6c 20 76 | 69 73 69 62 6c 65 20 63 |nd all v|isible c|
|000026f0| 65 6c 6c 73 20 69 6e 0d | 74 68 65 20 75 70 64 61 |ells in.|the upda|
|00002700| 74 65 20 72 65 67 69 6f | 6e 20 77 69 6c 6c 20 62 |te regio|n will b|
|00002710| 65 20 64 72 61 77 6e 20 | 28 6f 72 20 72 65 64 72 |e drawn |(or redr|
|00002720| 61 77 6e 29 2e 20 57 68 | 65 6e 20 79 6f 75 20 63 |awn). Wh|en you c|
|00002730| 68 61 6e 67 65 20 74 68 | 65 20 76 61 6c 75 65 20 |hange th|e value |
|00002740| 6f 72 20 73 65 6c 65 63 | 74 69 6f 6e 0d 6f 66 20 |or selec|tion.of |
|00002750| 61 20 63 65 6c 6c 20 66 | 72 6f 6d 20 79 6f 75 72 |a cell f|rom your|
|00002760| 20 70 72 6f 67 72 61 6d | 2c 20 69 74 d5 73 20 72 | program|, it.s r|
|00002770| 65 64 69 73 70 6c 61 79 | 65 64 20 6f 6e 6c 79 20 |edisplay|ed only |
|00002780| 69 66 20 64 72 61 77 69 | 6e 67 20 69 73 20 6f 6e |if drawi|ng is on|
|00002790| 2e 20 49 66 20 64 72 61 | 77 69 6e 67 20 69 73 0d |. If dra|wing is.|
|000027a0| 6f 66 66 2c 20 79 6f 75 | 20 63 61 6e 20 63 61 6c |off, you| can cal|
|000027b0| 6c 20 74 68 65 20 70 72 | 6f 63 65 64 75 72 65 20 |l the pr|ocedure |
|000027c0| 4c 44 72 61 77 20 74 6f | 20 64 69 73 70 6c 61 79 |LDraw to| display|
|000027d0| 20 74 68 65 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 | the con|tents of|
|000027e0| 20 74 68 65 20 63 65 6c | 6c 2e 0d 0d 49 66 20 61 | the cel|l...If a|
|000027f0| 20 6d 6f 75 73 65 2d 64 | 6f 77 6e 20 65 76 65 6e | mouse-d|own even|
|00002800| 74 20 6f 63 63 75 72 73 | 20 77 69 74 68 69 6e 20 |t occurs| within |
|00002810| 74 68 65 20 6c 69 73 74 | d5 73 20 77 69 6e 64 6f |the list|.s windo|
|00002820| 77 2c 20 63 61 6c 6c 20 | 4c 43 6c 69 63 6b 2e 20 |w, call |LClick. |
|00002830| 54 68 69 73 20 72 6f 75 | 74 69 6e 65 0d 74 72 61 |This rou|tine.tra|
|00002840| 63 6b 73 20 74 68 65 20 | 6d 6f 75 73 65 2c 20 73 |cks the |mouse, s|
|00002850| 65 6c 65 63 74 69 6e 67 | 20 63 65 6c 6c 73 20 61 |electing| cells a|
|00002860| 6e 64 20 73 63 72 6f 6c | 6c 69 6e 67 20 74 68 65 |nd scrol|ling the|
|00002870| 20 64 69 73 70 6c 61 79 | 20 61 73 20 6e 65 63 65 | display| as nece|
|00002880| 73 73 61 72 79 2e 20 54 | 68 65 20 72 65 73 75 6c |ssary. T|he resul|
|00002890| 74 0d 6f 66 20 4c 43 6c | 69 63 6b 20 69 73 20 61 |t.of LCl|ick is a|
|000028a0| 20 42 6f 6f 6c 65 61 6e | 20 76 61 6c 75 65 20 74 | Boolean| value t|
|000028b0| 68 61 74 20 69 73 20 54 | 52 55 45 20 69 66 20 61 |hat is T|RUE if a|
|000028c0| 20 64 6f 75 62 6c 65 2d | 63 6c 69 63 6b 20 6f 63 | double-|click oc|
|000028d0| 63 75 72 72 65 64 2e 20 | 59 6f 75 20 63 61 6e 20 |curred. |You can |
|000028e0| 64 69 73 63 6f 76 65 72 | 0d 77 68 69 63 68 20 63 |discover|.which c|
|000028f0| 65 6c 6c 20 72 65 63 65 | 69 76 65 64 20 74 68 65 |ell rece|ived the|
|00002900| 20 64 6f 75 62 6c 65 2d | 63 6c 69 63 6b 20 62 79 | double-|click by|
|00002910| 20 63 61 6c 6c 69 6e 67 | 20 4c 4c 61 73 74 43 6c | calling| LLastCl|
|00002920| 69 63 6b 2e 0d 0d 49 66 | 20 61 6e 20 61 63 74 69 |ick...If| an acti|
|00002930| 76 61 74 65 20 6f 72 20 | 64 65 61 63 74 69 76 61 |vate or |deactiva|
|00002940| 74 65 20 65 76 65 6e 74 | 20 6f 63 63 75 72 73 20 |te event| occurs |
|00002950| 66 6f 72 20 74 68 65 20 | 77 69 6e 64 6f 77 20 63 |for the |window c|
|00002960| 6f 6e 74 61 69 6e 69 6e | 67 20 74 68 65 20 6c 69 |ontainin|g the li|
|00002970| 73 74 2c 20 79 6f 75 0d | 73 68 6f 75 6c 64 20 63 |st, you.|should c|
|00002980| 61 6c 6c 20 74 68 65 20 | 70 72 6f 63 65 64 75 72 |all the |procedur|
|00002990| 65 20 4c 41 63 74 69 76 | 61 74 65 2e 20 54 68 69 |e LActiv|ate. Thi|
|000029a0| 73 20 72 6f 75 74 69 6e | 65 20 68 69 67 68 6c 69 |s routin|e highli|
|000029b0| 67 68 74 73 20 74 68 65 | 20 73 65 6c 65 63 74 65 |ghts the| selecte|
|000029c0| 64 20 63 65 6c 6c 73 20 | 61 6e 64 0d 73 63 72 6f |d cells |and.scro|
|000029d0| 6c 6c 20 62 61 72 73 20 | 61 73 20 6e 65 63 65 73 |ll bars |as neces|
|000029e0| 73 61 72 79 2e 0d 0d 49 | 66 20 74 68 65 20 77 69 |sary...I|f the wi|
|000029f0| 6e 64 6f 77 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |ndow con|taining |
|00002a00| 74 68 65 20 6c 69 73 74 | 20 68 61 73 20 61 20 73 |the list| has a s|
|00002a10| 69 7a 65 20 62 6f 78 20 | 28 61 6e 64 20 79 6f 75 |ize box |(and you|
|00002a20| 20 77 61 6e 74 20 74 68 | 65 20 6c 69 73 74 20 74 | want th|e list t|
|00002a30| 6f 20 67 72 6f 77 20 61 | 6c 6f 6e 67 0d 77 69 74 |o grow a|long.wit|
|00002a40| 68 20 74 68 65 20 77 69 | 6e 64 6f 77 29 2c 20 63 |h the wi|ndow), c|
|00002a50| 61 6c 6c 20 74 68 65 20 | 57 69 6e 64 6f 77 20 4d |all the |Window M|
|00002a60| 61 6e 61 67 65 72 20 72 | 6f 75 74 69 6e 65 73 20 |anager r|outines |
|00002a70| 47 72 6f 77 57 69 6e 64 | 6f 77 20 61 6e 64 20 53 |GrowWind|ow and S|
|00002a80| 69 7a 65 57 69 6e 64 6f | 77 20 61 73 0d 75 73 75 |izeWindo|w as.usu|
|00002a90| 61 6c 2c 20 74 68 65 6e | 20 63 61 6c 6c 20 4c 53 |al, then| call LS|
|00002aa0| 69 7a 65 20 77 69 74 68 | 20 74 68 65 20 6e 65 77 |ize with| the new|
|00002ab0| 20 73 69 7a 65 20 6f 66 | 20 74 68 65 20 6c 69 73 | size of| the lis|
|00002ac0| 74 2e 20 54 68 65 20 6c | 69 73 74 20 69 73 20 61 |t. The l|ist is a|
|00002ad0| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 0d 65 78 70 |utomatic|ally.exp|
|00002ae0| 61 6e 64 65 64 20 74 6f | 20 66 69 6c 6c 20 74 68 |anded to| fill th|
|00002af0| 65 20 6e 65 77 20 61 72 | 65 61 20 61 6e 64 20 74 |e new ar|ea and t|
|00002b00| 68 65 20 73 63 72 6f 6c | 6c 20 62 61 72 73 20 61 |he scrol|l bars a|
|00002b10| 72 65 20 75 70 64 61 74 | 65 64 20 61 63 63 6f 72 |re updat|ed accor|
|00002b20| 64 69 6e 67 6c 79 2e 20 | 54 68 65 20 64 72 61 77 |dingly. |The draw|
|00002b30| 69 6e 67 0d 6d 6f 64 65 | 20 64 6f 65 73 20 6e 6f |ing.mode| does no|
|00002b40| 74 20 61 66 66 65 63 74 | 20 74 68 65 20 75 70 64 |t affect| the upd|
|00002b50| 61 74 69 6e 67 20 6f 66 | 20 73 63 72 6f 6c 6c 20 |ating of| scroll |
|00002b60| 62 61 72 73 20 69 6e 20 | 4c 53 69 7a 65 2e 0d 0d |bars in |LSize...|
|00002b70| 59 6f 75 20 63 61 6e 20 | 66 69 6e 64 20 61 20 63 |You can |find a c|
|00002b80| 65 6c 6c 20 77 69 74 68 | 20 73 70 65 63 69 66 69 |ell with| specifi|
|00002b90| 65 64 20 63 6f 6e 74 65 | 6e 74 73 20 62 79 20 63 |ed conte|nts by c|
|00002ba0| 61 6c 6c 69 6e 67 20 4c | 53 65 61 72 63 68 2e 20 |alling L|Search. |
|00002bb0| 54 68 65 20 64 65 66 61 | 75 6c 74 20 73 65 61 72 |The defa|ult sear|
|00002bc0| 63 68 0d 72 6f 75 74 69 | 6e 65 20 69 73 20 74 68 |ch.routi|ne is th|
|00002bd0| 65 20 49 6e 74 65 72 6e | 61 74 69 6f 6e 61 6c 20 |e Intern|ational |
|00002be0| 55 74 69 6c 69 74 69 65 | 73 20 50 61 63 6b 61 67 |Utilitie|s Packag|
|00002bf0| 65 20 66 75 6e 63 74 69 | 6f 6e 20 49 55 4d 61 67 |e functi|on IUMag|
|00002c00| 49 44 53 74 72 69 6e 67 | 2c 20 62 75 74 20 79 6f |IDString|, but yo|
|00002c10| 75 20 63 61 6e 0d 70 61 | 73 73 20 4c 53 65 61 72 |u can.pa|ss LSear|
|00002c20| 63 68 20 61 6e 6f 74 68 | 65 72 20 73 65 61 72 63 |ch anoth|er searc|
|00002c30| 68 20 72 6f 75 74 69 6e | 65 20 69 66 20 79 6f 75 |h routin|e if you|
|00002c40| 20 77 69 73 68 2e 20 47 | 69 76 65 6e 20 61 20 63 | wish. G|iven a c|
|00002c50| 65 6c 6c 2c 20 79 6f 75 | 20 63 61 6e 20 63 61 6c |ell, you| can cal|
|00002c60| 6c 20 4c 4e 65 78 74 43 | 65 6c 6c 0d 74 6f 20 66 |l LNextC|ell.to f|
|00002c70| 69 6e 64 20 74 68 65 20 | 6e 65 78 74 20 63 65 6c |ind the |next cel|
|00002c80| 6c 20 69 6e 20 74 68 65 | 20 6c 69 73 74 2e 0d 0d |l in the| list...|
|00002c90| 59 6f 75 20 63 61 6e 20 | 66 69 6e 64 20 74 68 65 |You can |find the|
|00002ca0| 20 6c 6f 63 61 6c 20 63 | 6f 6f 72 64 69 6e 61 74 | local c|oordinat|
|00002cb0| 65 73 20 6f 66 20 61 20 | 67 69 76 65 6e 20 63 65 |es of a |given ce|
|00002cc0| 6c 6c 20 62 79 20 63 61 | 6c 6c 69 6e 67 20 4c 52 |ll by ca|lling LR|
|00002cd0| 65 63 74 2e 20 54 6f 20 | 73 63 72 6f 6c 6c 20 74 |ect. To |scroll t|
|00002ce0| 68 65 0d 6c 69 73 74 2c | 20 63 61 6c 6c 20 4c 53 |he.list,| call LS|
|00002cf0| 63 72 6f 6c 6c 2e 20 59 | 6f 75 20 63 61 6e 20 63 |croll. Y|ou can c|
|00002d00| 61 6c 6c 20 4c 41 75 74 | 6f 53 63 72 6f 6c 6c 20 |all LAut|oScroll |
|00002d10| 74 6f 20 6d 61 6b 65 20 | 73 75 72 65 20 74 68 61 |to make |sure tha|
|00002d20| 74 20 74 68 65 20 66 69 | 72 73 74 20 73 65 6c 65 |t the fi|rst sele|
|00002d30| 63 74 65 64 0d 63 65 6c | 6c 20 69 73 20 76 69 73 |cted.cel|l is vis|
|00002d40| 69 62 6c 65 2e 20 49 74 | 20 61 75 74 6f 6d 61 74 |ible. It| automat|
|00002d50| 69 63 61 6c 6c 79 20 70 | 6c 61 63 65 73 20 74 68 |ically p|laces th|
|00002d60| 65 20 66 69 72 73 74 20 | 73 65 6c 65 63 74 65 64 |e first |selected|
|00002d70| 20 63 65 6c 6c 20 69 6e | 20 74 68 65 20 74 6f 70 | cell in| the top|
|00002d80| 20 6c 65 66 74 0d 63 6f | 72 6e 65 72 20 6f 66 20 | left.co|rner of |
|00002d90| 74 68 65 20 76 69 73 69 | 62 6c 65 20 72 65 63 74 |the visi|ble rect|
|00002da0| 61 6e 67 6c 65 2e 0d 0d | 41 6c 6c 20 74 68 65 20 |angle...|All the |
|00002db0| 64 61 74 61 20 69 6e 20 | 61 20 6c 69 73 74 20 69 |data in |a list i|
|00002dc0| 73 20 73 74 6f 72 65 64 | 20 61 73 20 61 20 73 69 |s stored| as a si|
|00002dd0| 6e 67 6c 65 20 62 6c 6f | 63 6b 2e 20 59 6f 75 20 |ngle blo|ck. You |
|00002de0| 63 61 6e 20 66 69 6e 64 | 20 74 68 65 20 6f 66 66 |can find| the off|
|00002df0| 73 65 74 20 6f 66 20 61 | 0d 70 61 72 74 69 63 75 |set of a|.particu|
|00002e00| 6c 61 72 20 63 65 6c 6c | d5 73 20 64 61 74 61 20 |lar cell|.s data |
|00002e10| 75 73 69 6e 67 20 4c 46 | 69 6e 64 2e 0d 0d 5f 5f |using LF|ind...__|
|00002e20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002e30| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002e40| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002e50| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002e60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 0d 0d 0d |________|_____...|
|00002e70| be 4b 59 20 4c 69 73 74 | c9 4d 61 6e 61 67 65 72 |.KY List|.Manager|
|00002e80| c9 50 61 63 6b 61 67 65 | c9 52 6f 75 74 69 6e 65 |.Package|.Routine|
|00002e90| 73 0d be 43 20 c8 4c 49 | 53 54 20 4d 41 4e 41 47 |s..C .LI|ST MANAG|
|00002ea0| 45 52 20 50 41 43 4b 41 | 47 45 20 52 4f 55 54 49 |ER PACKA|GE ROUTI|
|00002eb0| 4e 45 53 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |NES | |
|00002ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4c 69 73 | | Lis|
|00002ed0| 74 4d 61 6e 61 67 65 72 | 50 61 63 6b 61 67 65 0d |tManager|Package.|
|00002ee0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002ef0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002f00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002f10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002f20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 0d |________|_______.|
|00002f30| 0d 41 73 73 65 6d 62 6c | 79 2d 6c 61 6e 67 75 61 |.Assembl|y-langua|
|00002f40| 67 65 20 6e 6f 74 65 3a | 20 20 59 6f 75 20 63 61 |ge note:| You ca|
|00002f50| 6e 20 69 6e 76 6f 6b 65 | 20 65 61 63 68 20 6f 66 |n invoke| each of|
|00002f60| 20 74 68 65 20 4c 69 73 | 74 20 4d 61 6e 61 67 65 | the Lis|t Manage|
|00002f70| 72 20 72 6f 75 74 69 6e | 65 73 0d 20 20 20 20 20 |r routin|es. |
|00002f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f90| 20 20 20 20 77 69 74 68 | 20 61 20 6d 61 63 72 6f | with| a macro|
|00002fa0| 20 74 68 61 74 20 68 61 | 73 20 74 68 65 20 73 61 | that ha|s the sa|
|00002fb0| 6d 65 20 6e 61 6d 65 20 | 61 73 20 74 68 65 20 72 |me name |as the r|
|00002fc0| 6f 75 74 69 6e 65 0d 20 | 20 20 20 20 20 20 20 20 |outine. | |
|00002fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002fe0| 70 72 65 63 65 64 65 64 | 20 62 79 20 61 6e 20 75 |preceded| by an u|
|00002ff0| 6e 64 65 72 73 63 6f 72 | 65 2e 20 54 68 65 73 65 |nderscor|e. These|
|00003000| 20 6d 61 63 72 6f 73 20 | 65 78 70 61 6e 64 20 74 | macros |expand t|
|00003010| 6f 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |o. | |
|00003020| 20 20 20 20 20 20 20 20 | 20 20 20 69 6e 76 6f 6b | | invok|
|00003030| 65 20 74 6f 20 74 72 61 | 70 20 6d 61 63 72 6f 20 |e to tra|p macro |
|00003040| 5f 50 61 63 6b 20 30 2e | 20 54 68 65 20 70 61 63 |_Pack 0.| The pac|
|00003050| 6b 61 67 65 20 64 65 74 | 65 72 6d 69 6e 65 73 0d |kage det|ermines.|
|00003060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003070| 20 20 20 20 20 20 20 20 | 20 77 68 69 63 68 20 72 | | which r|
|00003080| 6f 75 74 69 6e 65 20 74 | 6f 20 65 78 65 63 75 74 |outine t|o execut|
|00003090| 65 20 66 72 6f 6d 20 61 | 20 72 6f 75 74 69 6e 65 |e from a| routine|
|000030a0| 20 73 65 6c 65 63 74 6f | 72 2c 20 61 6e 0d 20 20 | selecto|r, an. |
|000030b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000030c0| 20 20 20 20 20 20 20 69 | 6e 74 65 67 65 72 20 74 | i|nteger t|
|000030d0| 68 61 74 d5 73 20 70 61 | 73 73 65 64 20 74 6f 20 |hat.s pa|ssed to |
|000030e0| 69 74 20 69 6e 20 61 20 | 77 6f 72 64 20 6f 6e 20 |it in a |word on |
|000030f0| 74 68 65 20 73 74 61 63 | 6b 2e 0d 20 20 20 20 20 |the stac|k.. |
|00003100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003110| 20 20 20 20 54 68 65 20 | 72 6f 75 74 69 6e 65 20 | The |routine |
|00003120| 73 65 6c 65 63 74 6f 72 | 73 20 61 72 65 20 61 73 |selector|s are as|
|00003130| 20 66 6f 6c 6c 6f 77 73 | 3a 0d 0d 20 20 20 20 20 | follows|:.. |
|00003140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003150| 20 20 20 20 20 20 6c 41 | 63 74 69 76 61 74 65 20 | lA|ctivate |
|00003160| 20 20 2e 45 51 55 20 20 | 20 20 30 20 20 20 20 6c | .EQU | 0 l|
|00003170| 41 75 74 6f 53 63 72 6f | 6c 6c 20 20 2e 45 51 55 |AutoScro|ll .EQU|
|00003180| 20 20 20 20 31 36 0d 20 | 20 20 20 20 20 20 20 20 | 16. | |
|00003190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031a0| 20 20 6c 41 64 64 43 6f | 6c 75 6d 6e 20 20 2e 45 | lAddCo|lumn .E|
|000031b0| 51 55 20 20 20 20 34 20 | 20 20 20 6c 43 65 6c 6c |QU 4 | lCell|
|000031c0| 53 69 7a 65 20 20 20 20 | 2e 45 51 55 20 20 20 20 |Size |.EQU |
|000031d0| 32 30 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |20. | |
|000031e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 41 | | lA|
|000031f0| 64 64 52 6f 77 20 20 20 | 20 20 2e 45 51 55 20 20 |ddRow | .EQU |
|00003200| 20 20 38 20 20 20 20 6c | 43 6c 69 63 6b 20 20 20 | 8 l|Click |
|00003210| 20 20 20 20 2e 45 51 55 | 20 20 20 20 32 34 0d 20 | .EQU| 24. |
|00003220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003230| 20 20 20 20 20 20 20 20 | 20 20 6c 41 64 64 54 6f | | lAddTo|
|00003240| 43 65 6c 6c 20 20 2e 45 | 51 55 20 20 20 20 31 32 |Cell .E|QU 12|
|00003250| 20 20 20 6c 43 6c 72 43 | 65 6c 6c 20 20 20 20 20 | lClrC|ell |
|00003260| 2e 45 51 55 20 20 20 20 | 32 38 0d 20 20 20 20 20 |.EQU |28. |
|00003270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003280| 20 20 20 20 20 20 6c 44 | 65 6c 43 6f 6c 75 6d 6e | lD|elColumn|
|00003290| 20 20 2e 45 51 55 20 20 | 20 20 33 32 20 20 20 6c | .EQU | 32 l|
|000032a0| 4e 65 77 20 20 20 20 20 | 20 20 20 20 2e 45 51 55 |New | .EQU|
|000032b0| 20 20 20 20 36 38 0d 20 | 20 20 20 20 20 20 20 20 | 68. | |
|000032c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032d0| 20 20 6c 44 65 6c 52 6f | 77 20 20 20 20 20 2e 45 | lDelRo|w .E|
|000032e0| 51 55 20 20 20 20 33 36 | 20 20 20 6c 4e 65 78 74 |QU 36| lNext|
|000032f0| 43 65 6c 6c 20 20 20 20 | 2e 45 51 55 20 20 20 20 |Cell |.EQU |
|00003300| 37 32 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |72. | |
|00003310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 44 | | lD|
|00003320| 69 73 70 6f 73 65 20 20 | 20 20 2e 45 51 55 20 20 |ispose | .EQU |
|00003330| 20 20 34 30 20 20 20 6c | 52 65 63 74 20 20 20 20 | 40 l|Rect |
|00003340| 20 20 20 20 2e 45 51 55 | 20 20 20 20 37 36 0d 20 | .EQU| 76. |
|00003350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003360| 20 20 20 20 20 20 20 20 | 20 20 6c 44 6f 44 72 61 | | lDoDra|
|00003370| 77 20 20 20 20 20 2e 45 | 51 55 20 20 20 20 34 34 |w .E|QU 44|
|00003380| 20 20 20 6c 53 63 72 6f | 6c 6c 20 20 20 20 20 20 | lScro|ll |
|00003390| 2e 45 51 55 20 20 20 20 | 38 30 0d 20 20 20 20 20 |.EQU |80. |
|000033a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033b0| 20 20 20 20 20 20 6c 44 | 72 61 77 20 20 20 20 20 | lD|raw |
|000033c0| 20 20 2e 45 51 55 20 20 | 20 20 34 38 20 20 20 6c | .EQU | 48 l|
|000033d0| 53 65 61 72 63 68 20 20 | 20 20 20 20 2e 45 51 55 |Search | .EQU|
|000033e0| 20 20 20 20 38 34 0d 20 | 20 20 20 20 20 20 20 20 | 84. | |
|000033f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003400| 20 20 6c 46 69 6e 64 20 | 20 20 20 20 20 20 2e 45 | lFind | .E|
|00003410| 51 55 20 20 20 20 35 32 | 20 20 20 6c 53 65 74 43 |QU 52| lSetC|
|00003420| 65 6c 6c 20 20 20 20 20 | 2e 45 51 55 20 20 20 20 |ell |.EQU |
|00003430| 38 38 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |88. | |
|00003440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 47 | | lG|
|00003450| 65 74 43 65 6c 6c 20 20 | 20 20 2e 45 51 55 20 20 |etCell | .EQU |
|00003460| 20 20 35 36 20 20 20 6c | 53 65 74 53 65 6c 65 63 | 56 l|SetSelec|
|00003470| 74 20 20 20 2e 45 51 55 | 20 20 20 20 39 32 0d 20 |t .EQU| 92. |
|00003480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003490| 20 20 20 20 20 20 20 20 | 20 20 6c 47 65 74 53 65 | | lGetSe|
|000034a0| 6c 65 63 74 20 20 2e 45 | 51 55 20 20 20 20 36 30 |lect .E|QU 60|
|000034b0| 20 20 20 6c 53 69 7a 65 | 20 20 20 20 20 20 20 20 | lSize| |
|000034c0| 2e 45 51 55 20 20 20 20 | 39 36 0d 20 20 20 20 20 |.EQU |96. |
|000034d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000034e0| 20 20 20 20 20 20 6c 4c | 61 73 74 43 6c 69 63 6b | lL|astClick|
|000034f0| 20 20 2e 45 51 55 20 20 | 20 20 36 34 20 20 20 6c | .EQU | 64 l|
|00003500| 55 70 64 61 74 65 20 20 | 20 20 20 20 2e 45 51 55 |Update | .EQU|
|00003510| 20 20 20 20 31 30 30 0d | 0d 5f 5f 5f 5f 5f 5f 5f | 100.|._______|
|00003520| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003530| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003540| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003550| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003560| 5f 5f 5f 5f 5f 5f 5f 5f | 0d 0d c8 43 72 65 61 74 |________|...Creat|
|00003570| 69 6e 67 20 61 6e 64 20 | 44 69 73 70 6f 73 69 6e |ing and |Disposin|
|00003580| 67 20 6f 66 20 4c 69 73 | 74 73 0d 0d 46 55 4e 43 |g of Lis|ts..FUNC|
|00003590| 54 49 4f 4e 20 4c 4e 65 | 77 20 28 72 56 69 65 77 |TION LNe|w (rView|
|000035a0| 2c 64 61 74 61 42 6f 75 | 6e 64 73 3a ca ca 52 65 |,dataBou|nds:..Re|
|000035b0| 63 74 3b 20 63 53 69 7a | 65 3a ca ca 50 6f 69 6e |ct; cSiz|e:..Poin|
|000035c0| 74 3b 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t;. | |
|000035d0| 20 20 74 68 65 50 72 6f | 63 3a ca ca 49 4e 54 45 | thePro|c:..INTE|
|000035e0| 47 45 52 3b 20 74 68 65 | 57 69 6e 64 6f 77 3a ca |GER; the|Window:.|
|000035f0| ca 57 69 6e 64 6f 77 50 | 74 72 3b 0d 20 20 20 20 |.WindowP|tr;. |
|00003600| 20 20 20 20 20 20 20 20 | 20 20 20 64 72 61 77 49 | | drawI|
|00003610| 74 2c 68 61 73 47 72 6f | 77 2c 20 73 63 72 6f 6c |t,hasGro|w, scrol|
|00003620| 6c 48 6f 72 69 7a 2c 73 | 63 72 6f 6c 6c 56 65 72 |lHoriz,s|crollVer|
|00003630| 74 3a ca ca 42 4f 4f 4c | 45 41 4e 29 20 3a ca ca |t:..BOOL|EAN) :..|
|00003640| 4c 69 73 74 48 61 6e 64 | 6c 65 3b 0d 0d 43 61 6c |ListHand|le;..Cal|
|00003650| 6c 20 4c 4e 65 77 20 74 | 6f 20 63 72 65 61 74 65 |l LNew t|o create|
|00003660| 20 61 20 6e 65 77 20 6c | 69 73 74 2e 20 49 74 20 | a new l|ist. It |
|00003670| 72 65 74 75 72 6e 73 20 | 61 20 68 61 6e 64 6c 65 |returns |a handle|
|00003680| 20 74 6f 20 74 68 65 20 | 6e 65 77 20 6c 69 73 74 | to the |new list|
|00003690| 2e 20 54 68 65 20 6c 69 | 73 74 d5 73 0d 67 72 61 |. The li|st.s.gra|
|000036a0| 66 50 6f 72 74 20 69 73 | 20 73 65 74 20 74 6f 20 |fPort is| set to |
|000036b0| 74 68 65 57 69 6e 64 6f | 77 d5 73 20 70 6f 72 74 |theWindo|w.s port|
|000036c0| 2e 20 49 66 20 64 72 61 | 77 49 74 20 69 73 20 46 |. If dra|wIt is F|
|000036d0| 41 4c 53 45 2c 20 74 68 | 65 20 6c 69 73 74 20 69 |ALSE, th|e list i|
|000036e0| 73 20 6e 6f 74 20 64 69 | 73 70 6c 61 79 65 64 2e |s not di|splayed.|
|000036f0| 0d 0d 52 56 69 65 77 20 | 73 70 65 63 69 66 69 65 |..RView |specifie|
|00003700| 73 2c 20 69 6e 20 74 68 | 65 20 6c 6f 63 61 6c 20 |s, in th|e local |
|00003710| 63 6f 6f 72 64 69 6e 61 | 74 65 73 20 6f 66 20 74 |coordina|tes of t|
|00003720| 68 65 57 69 6e 64 6f 77 | 2c 20 74 68 65 20 72 65 |heWindow|, the re|
|00003730| 63 74 61 6e 67 6c 65 20 | 69 6e 20 77 68 69 63 68 |ctangle |in which|
|00003740| 20 74 68 65 0d 6c 69 73 | 74 20 77 69 6c 6c 20 62 | the.lis|t will b|
|00003750| 65 20 64 69 73 70 6c 61 | 79 65 64 2e 20 28 52 65 |e displa|yed. (Re|
|00003760| 6d 65 6d 62 65 72 20 74 | 68 61 74 20 74 68 69 73 |member t|hat this|
|00003770| 20 64 6f 65 73 6e d5 74 | 20 69 6e 63 6c 75 64 65 | doesn.t| include|
|00003780| 20 73 70 61 63 65 20 66 | 6f 72 20 73 63 72 6f 6c | space f|or scrol|
|00003790| 6c 20 62 61 72 73 2e 20 | 49 66 0d 74 68 65 20 6c |l bars. |If.the l|
|000037a0| 69 73 74 2c 20 69 6e 63 | 6c 75 64 69 6e 67 20 73 |ist, inc|luding s|
|000037b0| 63 72 6f 6c 6c 20 62 61 | 72 73 2c 20 69 73 20 74 |croll ba|rs, is t|
|000037c0| 6f 20 66 69 6c 6c 20 74 | 68 65 20 65 6e 74 69 72 |o fill t|he entir|
|000037d0| 65 20 77 69 6e 64 6f 77 | 2c 20 72 56 69 65 77 20 |e window|, rView |
|000037e0| 73 68 6f 75 6c 64 20 62 | 65 20 31 35 0d 70 6f 69 |should b|e 15.poi|
|000037f0| 6e 74 73 20 73 6d 61 6c | 6c 65 72 20 69 6e 20 65 |nts smal|ler in e|
|00003800| 61 63 68 20 64 69 6d 65 | 6e 73 69 6f 6e 20 74 68 |ach dime|nsion th|
|00003810| 61 6e 20 74 68 65 57 69 | 6e 64 6f 77 d5 73 20 70 |an theWi|ndow.s p|
|00003820| 6f 72 74 52 65 63 74 2e | 29 0d 0d 44 61 74 61 42 |ortRect.|)..DataB|
|00003830| 6f 75 6e 64 73 20 69 73 | 20 74 68 65 20 72 65 63 |ounds is| the rec|
|00003840| 74 61 6e 67 6c 65 20 66 | 6f 72 20 73 70 65 63 69 |tangle f|or speci|
|00003850| 66 79 69 6e 67 20 74 68 | 65 20 69 6e 69 74 69 61 |fying th|e initia|
|00003860| 6c 20 61 72 72 61 79 20 | 64 69 6d 65 6e 73 69 6f |l array |dimensio|
|00003870| 6e 73 20 6f 66 20 74 68 | 65 20 6c 69 73 74 2e 0d |ns of th|e list..|
|00003880| 46 6f 72 20 65 78 61 6d | 70 6c 65 20 74 6f 20 70 |For exam|ple to p|
|00003890| 72 65 61 6c 6c 6f 63 61 | 74 65 20 73 70 61 63 65 |realloca|te space|
|000038a0| 20 66 6f 72 20 61 20 6c | 69 73 74 20 74 68 61 74 | for a l|ist that|
|000038b0| d5 73 20 35 20 63 65 6c | 6c 73 20 61 63 72 6f 73 |.s 5 cel|ls acros|
|000038c0| 73 20 62 79 20 31 30 20 | 63 65 6c 6c 73 20 64 6f |s by 10 |cells do|
|000038d0| 77 6e 2c 0d 79 6f 75 20 | 73 68 6f 75 6c 64 20 73 |wn,.you |should s|
|000038e0| 65 74 20 64 61 74 61 42 | 6f 75 6e 64 73 20 74 6f |et dataB|ounds to|
|000038f0| 20 28 30 2c 30 29 28 35 | 2c 31 30 29 2e 20 49 66 | (0,0)(5|,10). If|
|00003900| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 61 6c 6c | you wan|t to all|
|00003910| 6f 63 61 74 65 20 74 68 | 65 20 73 70 61 63 65 20 |ocate th|e space |
|00003920| 66 6f 72 20 61 0d 6f 6e | 65 2d 63 6f 6c 75 6d 6e |for a.on|e-column|
|00003930| 20 6c 69 73 74 2c 20 73 | 65 74 20 64 61 74 61 42 | list, s|et dataB|
|00003940| 6f 75 6e 64 73 20 74 6f | 20 28 30 2c 30 29 28 31 |ounds to| (0,0)(1|
|00003950| 2c 30 29 20 61 6e 64 20 | 75 73 65 20 4c 41 64 64 |,0) and |use LAdd|
|00003960| 52 6f 77 2e 0d 0d 43 53 | 69 7a 65 2e 68 20 61 6e |Row...CS|ize.h an|
|00003970| 64 20 63 53 69 7a 65 2e | 76 20 61 72 65 20 74 68 |d cSize.|v are th|
|00003980| 65 20 64 65 73 69 72 65 | 64 20 68 65 69 67 68 74 |e desire|d height|
|00003990| 20 61 6e 64 20 77 69 64 | 74 68 20 6f 66 20 65 61 | and wid|th of ea|
|000039a0| 63 68 20 63 65 6c 6c 20 | 69 6e 20 70 69 78 65 6c |ch cell |in pixel|
|000039b0| 73 3b 20 69 66 0d 74 68 | 65 79 d5 72 65 20 6e 6f |s; if.th|ey.re no|
|000039c0| 74 20 73 70 65 63 69 66 | 69 65 64 2c 20 61 20 64 |t specif|ied, a d|
|000039d0| 65 66 61 75 6c 74 20 63 | 65 6c 6c 20 73 69 7a 65 |efault c|ell size|
|000039e0| 20 69 73 20 63 61 6c 63 | 75 6c 61 74 65 64 20 28 | is calc|ulated (|
|000039f0| 61 73 20 64 65 73 63 72 | 69 62 65 64 20 61 62 6f |as descr|ibed abo|
|00003a00| 76 65 29 2e 0d 0d 54 68 | 65 50 72 6f 63 20 69 73 |ve)...Th|eProc is|
|00003a10| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 49 44 | the res|ource ID|
|00003a20| 20 6f 66 20 79 6f 75 72 | 20 6c 69 73 74 20 64 65 | of your| list de|
|00003a30| 66 69 6e 69 74 69 6f 6e | 20 70 72 6f 63 65 64 75 |finition| procedu|
|00003a40| 72 65 3b 20 66 6f 72 20 | 61 20 74 65 78 74 2d 6f |re; for |a text-o|
|00003a50| 6e 6c 79 20 6c 69 73 74 | 2c 0d 70 61 73 73 20 30 |nly list|,.pass 0|
|00003a60| 20 61 6e 64 20 74 68 65 | 20 64 65 66 61 75 6c 74 | and the| default|
|00003a70| 20 6c 69 73 74 20 64 65 | 66 69 6e 69 74 69 6f 6e | list de|finition|
|00003a80| 20 70 72 6f 63 65 64 75 | 72 65 20 28 61 62 6f 75 | procedu|re (abou|
|00003a90| 74 20 31 35 30 20 62 79 | 74 65 73 20 69 6e 20 73 |t 150 by|tes in s|
|00003aa0| 69 7a 65 29 20 77 69 6c | 6c 20 62 65 0d 75 73 65 |ize) wil|l be.use|
|00003ab0| 64 2e 20 54 68 65 20 6c | 69 73 74 20 64 65 66 69 |d. The l|ist defi|
|00003ac0| 6e 69 74 69 6f 6e 20 70 | 72 6f 63 65 64 75 72 65 |nition p|rocedure|
|00003ad0| 20 69 73 20 63 61 6c 6c | 65 64 20 74 6f 20 69 6e | is call|ed to in|
|00003ae0| 69 74 69 61 6c 69 7a 65 | 20 69 74 73 65 6c 66 20 |itialize| itself |
|00003af0| 61 66 74 65 72 20 61 6c | 6c 20 6f 74 68 65 72 0d |after al|l other.|
|00003b00| 6c 69 73 74 20 72 65 63 | 6f 72 64 20 66 69 65 6c |list rec|ord fiel|
|00003b10| 64 73 20 68 61 76 65 20 | 62 65 65 6e 20 69 6e 69 |ds have |been ini|
|00003b20| 74 69 61 6c 69 7a 65 64 | 3b 20 74 68 75 73 2c 20 |tialized|; thus, |
|00003b30| 69 74 20 63 61 6e 20 75 | 73 65 20 61 6e 79 20 6f |it can u|se any o|
|00003b40| 66 20 74 68 65 20 76 61 | 6c 75 65 73 20 69 6e 20 |f the va|lues in |
|00003b50| 74 68 65 0d 6c 69 73 74 | 20 72 65 63 6f 72 64 20 |the.list| record |
|00003b60| 28 6f 72 20 73 65 74 20 | 70 61 72 74 69 63 75 6c |(or set |particul|
|00003b70| 61 72 20 66 69 65 6c 64 | 73 2c 20 73 75 63 68 20 |ar field|s, such |
|00003b80| 61 73 20 74 68 65 20 69 | 6e 64 65 6e 74 20 64 69 |as the i|ndent di|
|00003b90| 73 74 61 6e 63 65 29 2e | 0d 0d 49 66 20 68 61 73 |stance).|..If has|
|00003ba0| 47 72 6f 77 20 69 73 20 | 54 52 55 45 2c 20 74 68 |Grow is |TRUE, th|
|00003bb0| 65 20 73 63 72 6f 6c 6c | 20 62 61 72 73 20 61 72 |e scroll| bars ar|
|00003bc0| 65 20 73 69 7a 65 64 20 | 73 6f 20 74 68 61 74 20 |e sized |so that |
|00003bd0| 74 68 65 72 65 d5 73 20 | 72 6f 6f 6d 20 66 6f 72 |there.s |room for|
|00003be0| 20 61 20 73 69 7a 65 20 | 62 6f 78 20 69 6e 0d 74 | a size |box in.t|
|00003bf0| 68 65 20 73 74 61 6e 64 | 61 72 64 20 70 6f 73 69 |he stand|ard posi|
|00003c00| 74 69 6f 6e 2e 20 49 74 | d5 73 20 75 70 20 74 6f |tion. It|.s up to|
|00003c10| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 74 6f 20 | the pro|gram to |
|00003c20| 64 69 73 70 6c 61 79 20 | 74 68 65 20 73 69 7a 65 |display |the size|
|00003c30| 20 62 6f 78 0d 28 75 73 | 69 6e 67 20 74 68 65 20 | box.(us|ing the |
|00003c40| 57 69 6e 64 6f 77 20 4d | 61 6e 61 67 65 72 20 70 |Window M|anager p|
|00003c50| 72 6f 63 65 64 75 72 65 | 20 44 72 61 77 47 72 6f |rocedure| DrawGro|
|00003c60| 77 49 63 6f 6e 29 2e 20 | 49 66 20 73 63 72 6f 6c |wIcon). |If scrol|
|00003c70| 6c 48 6f 72 69 7a 20 69 | 73 20 54 52 55 45 2c 20 |lHoriz i|s TRUE, |
|00003c80| 61 20 68 6f 72 69 7a 6f | 6e 74 61 6c 0d 73 63 72 |a horizo|ntal.scr|
|00003c90| 6f 6c 6c 20 62 61 72 20 | 69 73 20 70 6c 61 63 65 |oll bar |is place|
|00003ca0| 64 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 20 62 65 |d immedi|ately be|
|00003cb0| 6c 6f 77 20 72 56 69 65 | 77 20 61 6e 64 20 61 6c |low rVie|w and al|
|00003cc0| 6c 20 68 6f 72 69 7a 6f | 6e 74 61 6c 20 73 63 72 |l horizo|ntal scr|
|00003cd0| 6f 6c 6c 69 6e 67 20 66 | 75 6e 63 74 69 6f 6e 73 |olling f|unctions|
|00003ce0| 0d 61 72 65 20 69 6d 70 | 6c 65 6d 65 6e 74 65 64 |.are imp|lemented|
|00003cf0| 2e 20 49 66 20 73 63 72 | 6f 6c 6c 56 65 72 74 20 |. If scr|ollVert |
|00003d00| 69 73 20 54 52 55 45 2c | 20 61 20 76 65 72 74 69 |is TRUE,| a verti|
|00003d10| 63 61 6c 20 73 63 72 6f | 6c 6c 20 62 61 72 20 69 |cal scro|ll bar i|
|00003d20| 73 20 70 6c 61 63 65 64 | 20 69 6d 6d 65 64 69 61 |s placed| immedia|
|00003d30| 74 65 6c 79 0d 74 6f 20 | 74 68 65 20 72 69 67 68 |tely.to |the righ|
|00003d40| 74 20 6f 66 20 72 56 69 | 65 77 20 61 6e 64 20 61 |t of rVi|ew and a|
|00003d50| 6c 6c 20 76 65 72 74 69 | 63 61 6c 20 73 63 72 6f |ll verti|cal scro|
|00003d60| 6c 6c 69 6e 67 20 66 75 | 6e 63 74 69 6f 6e 73 20 |lling fu|nctions |
|00003d70| 61 72 65 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 2e |are impl|emented.|
|00003d80| 0d 0d 54 68 65 20 76 69 | 73 69 62 6c 65 20 72 65 |..The vi|sible re|
|00003d90| 63 74 61 6e 67 6c 65 20 | 69 73 20 73 65 74 20 74 |ctangle |is set t|
|00003da0| 6f 20 63 6f 6e 74 61 69 | 6e 20 61 73 20 6d 61 6e |o contai|n as man|
|00003db0| 79 20 63 65 6c 6c 73 20 | 6f 66 20 63 53 69 7a 65 |y cells |of cSize|
|00003dc0| 20 28 6f 72 20 74 68 65 | 20 64 65 66 61 75 6c 74 | (or the| default|
|00003dd0| 29 20 61 73 0d 77 69 6c | 6c 20 66 69 74 20 69 6e |) as.wil|l fit in|
|00003de0| 74 6f 20 72 56 69 65 77 | 2e 20 49 66 20 74 68 65 |to rView|. If the|
|00003df0| 20 63 65 6c 6c 73 20 64 | 6f 20 6e 6f 74 20 66 69 | cells d|o not fi|
|00003e00| 74 20 65 78 61 63 74 6c | 79 20 69 6e 74 6f 20 72 |t exactl|y into r|
|00003e10| 56 69 65 77 2c 20 74 68 | 65 20 76 69 73 69 62 6c |View, th|e visibl|
|00003e20| 65 20 72 65 63 74 61 6e | 67 6c 65 0d 69 73 20 72 |e rectan|gle.is r|
|00003e30| 6f 75 6e 64 65 64 20 75 | 70 20 74 6f 20 74 68 65 |ounded u|p to the|
|00003e40| 20 6e 65 61 72 65 73 74 | 20 63 65 6c 6c 2e 20 53 | nearest| cell. S|
|00003e50| 63 72 6f 6c 6c 69 6e 67 | 20 77 69 6c 6c 20 61 6c |crolling| will al|
|00003e60| 77 61 79 73 20 61 6c 6c | 6f 77 20 61 6c 6c 20 63 |ways all|ow all c|
|00003e70| 65 6c 6c 73 20 74 6f 20 | 62 65 20 66 75 6c 6c 79 |ells to |be fully|
|00003e80| 0d 64 69 73 70 6c 61 79 | 65 64 2e 20 54 68 65 20 |.display|ed. The |
|00003e90| 73 65 6c 65 63 74 69 6f | 6e 20 66 6c 61 67 73 20 |selectio|n flags |
|00003ea0| 61 72 65 20 73 65 74 20 | 74 6f 20 30 2c 20 61 6e |are set |to 0, an|
|00003eb0| 64 20 74 68 65 20 61 63 | 74 69 76 65 20 66 6c 61 |d the ac|tive fla|
|00003ec0| 67 20 69 73 20 73 65 74 | 20 74 6f 20 54 52 55 45 |g is set| to TRUE|
|00003ed0| 2e 0d 0d 4e 6f 74 65 3a | 20 20 53 63 72 6f 6c 6c |...Note:| Scroll|
|00003ee0| 69 6e 67 20 6c 6f 6f 6b | 73 20 62 65 73 74 20 69 |ing look|s best i|
|00003ef0| 66 20 72 56 69 65 77 20 | 69 73 20 61 20 6d 75 6c |f rView |is a mul|
|00003f00| 74 69 70 6c 65 20 6f 66 | 20 63 53 69 7a 65 2e 76 |tiple of| cSize.v|
|00003f10| 20 69 6e 20 68 65 69 67 | 68 74 2e 0d 0d 50 52 4f | in heig|ht...PRO|
|00003f20| 43 45 44 55 52 45 20 4c | 44 69 73 70 6f 73 65 20 |CEDURE L|Dispose |
|00003f30| 28 6c 48 61 6e 64 6c 65 | 3a ca ca 4c 69 73 74 48 |(lHandle|:..ListH|
|00003f40| 61 6e 64 6c 65 29 3b 0d | 0d 43 61 6c 6c 20 4c 44 |andle);.|.Call LD|
|00003f50| 69 73 70 6f 73 65 20 77 | 68 65 6e 20 79 6f 75 20 |ispose w|hen you |
|00003f60| 61 72 65 20 74 68 72 6f | 75 67 68 20 75 73 69 6e |are thro|ugh usin|
|00003f70| 67 20 61 20 6c 69 73 74 | 2e 20 49 74 20 69 73 73 |g a list|. It iss|
|00003f80| 75 65 73 20 61 20 63 6c | 6f 73 65 20 63 61 6c 6c |ues a cl|ose call|
|00003f90| 20 74 6f 20 74 68 65 20 | 6c 69 73 74 0d 64 65 66 | to the |list.def|
|00003fa0| 69 6e 69 74 69 6f 6e 20 | 70 72 6f 63 65 64 75 72 |inition |procedur|
|00003fb0| 65 2c 20 61 6e 64 20 63 | 61 6c 6c 73 20 74 68 65 |e, and c|alls the|
|00003fc0| 20 4d 65 6d 6f 72 79 20 | 4d 61 6e 61 67 65 72 20 | Memory |Manager |
|00003fd0| 70 72 6f 63 65 64 75 72 | 65 20 44 69 73 70 6f 73 |procedur|e Dispos|
|00003fe0| 48 61 6e 64 6c 65 20 66 | 6f 72 20 74 68 65 0d 64 |Handle f|or the.d|
|00003ff0| 61 74 61 20 68 61 6e 64 | 6c 65 2c 20 74 68 65 20 |ata hand|le, the |
|00004000| 43 6f 6e 74 72 6f 6c 20 | 4d 61 6e 61 67 65 72 20 |Control |Manager |
|00004010| 70 72 6f 63 65 64 75 72 | 65 20 44 69 73 70 6f 73 |procedur|e Dispos|
|00004020| 65 43 6f 6e 74 72 6f 6c | 20 66 6f 72 20 62 6f 74 |eControl| for bot|
|00004030| 68 20 73 63 72 6f 6c 6c | 20 62 61 72 73 20 28 69 |h scroll| bars (i|
|00004040| 66 0d 74 68 65 79 d5 72 | 65 20 74 68 65 72 65 29 |f.they.r|e there)|
|00004050| 2c 20 61 6e 64 20 44 69 | 73 70 6f 73 48 61 6e 64 |, and Di|sposHand|
|00004060| 6c 65 20 66 6f 72 20 74 | 68 65 20 6c 69 73 74 20 |le for t|he list |
|00004070| 72 65 63 6f 72 64 2e 0d | 0d 4e 6f 74 65 3a 20 20 |record..|.Note: |
|00004080| 43 61 6c 6c 69 6e 67 20 | 4c 44 69 73 70 6f 73 65 |Calling |LDispose|
|00004090| 20 69 73 20 6d 75 63 68 | 20 66 61 73 74 65 72 20 | is much| faster |
|000040a0| 74 68 61 6e 20 64 65 6c | 65 74 69 6e 67 20 6f 6e |than del|eting on|
|000040b0| 65 20 72 6f 77 20 61 74 | 20 61 20 74 69 6d 65 2e |e row at| a time.|
|000040c0| 0d 0d 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |..______|________|
|000040d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000040e0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000040f0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004100| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004110| 5f 0d 0d c8 41 64 64 69 | 6e 67 20 61 6e 64 20 44 |_...Addi|ng and D|
|00004120| 65 6c 65 74 69 6e 67 20 | 52 6f 77 73 20 61 6e 64 |eleting |Rows and|
|00004130| 20 43 6f 6c 75 6d 6e 73 | 0d 0d 46 55 4e 43 54 49 | Columns|..FUNCTI|
|00004140| 4f 4e 20 4c 41 64 64 43 | 6f 6c 75 6d 6e 20 28 63 |ON LAddC|olumn (c|
|00004150| 6f 75 6e 74 2c 63 6f 6c | 4e 75 6d 3a ca ca 49 4e |ount,col|Num:..IN|
|00004160| 54 45 47 45 52 3b 20 6c | 48 61 6e 64 6c 65 3a ca |TEGER; l|Handle:.|
|00004170| ca 4c 69 73 74 48 61 6e | 64 6c 65 29 20 3a ca ca |.ListHan|dle) :..|
|00004180| 49 4e 54 45 47 45 52 3b | 0d 0d 4c 41 64 64 43 6f |INTEGER;|..LAddCo|
|00004190| 6c 75 6d 6e 20 69 6e 73 | 65 72 74 73 20 69 6e 74 |lumn ins|erts int|
|000041a0| 6f 20 74 68 65 20 67 69 | 76 65 6e 20 6c 69 73 74 |o the gi|ven list|
|000041b0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|000041c0| 6f 6c 75 6d 6e 73 20 73 | 70 65 63 69 66 69 65 64 |olumns s|pecified|
|000041d0| 20 62 79 20 74 68 65 20 | 63 6f 75 6e 74 0d 70 61 | by the |count.pa|
|000041e0| 72 61 6d 65 74 65 72 2c | 20 73 74 61 72 74 69 6e |rameter,| startin|
|000041f0| 67 20 61 74 20 74 68 65 | 20 63 6f 6c 75 6d 6e 20 |g at the| column |
|00004200| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 63 6f 6c |specifie|d by col|
|00004210| 4e 75 6d 2e 20 43 6f 6c | 75 6d 6e 20 6e 75 6d 62 |Num. Col|umn numb|
|00004220| 65 72 73 20 74 68 61 74 | 20 61 72 65 20 67 72 65 |ers that| are gre|
|00004230| 61 74 65 72 0d 74 68 61 | 6e 20 6f 72 20 65 71 75 |ater.tha|n or equ|
|00004240| 61 6c 20 74 6f 20 63 6f | 6c 4e 75 6d 20 61 72 65 |al to co|lNum are|
|00004250| 20 69 6e 63 72 65 61 73 | 65 64 20 62 79 20 63 6f | increas|ed by co|
|00004260| 75 6e 74 2e 20 49 66 20 | 63 6f 6c 4e 75 6d 20 69 |unt. If |colNum i|
|00004270| 73 20 6e 6f 74 20 77 69 | 74 68 69 6e 20 64 61 74 |s not wi|thin dat|
|00004280| 61 42 6f 75 6e 64 73 2c | 0d 6e 65 77 20 6c 61 73 |aBounds,|.new las|
|00004290| 74 20 63 6f 6c 75 6d 6e | 73 20 61 72 65 20 61 64 |t column|s are ad|
|000042a0| 64 65 64 2e 20 54 68 65 | 20 6e 75 6d 62 65 72 20 |ded. The| number |
|000042b0| 6f 66 20 74 68 65 20 66 | 69 72 73 74 20 61 64 64 |of the f|irst add|
|000042c0| 65 64 20 63 6f 6c 75 6d | 6e 20 69 73 20 72 65 74 |ed colum|n is ret|
|000042d0| 75 72 6e 65 64 20 61 6e | 64 0d 64 61 74 61 42 6f |urned an|d.dataBo|
|000042e0| 75 6e 64 73 2e 72 69 67 | 68 74 20 69 73 20 69 6e |unds.rig|ht is in|
|000042f0| 63 72 65 61 73 65 64 20 | 62 79 20 63 6f 75 6e 74 |creased |by count|
|00004300| 2e 20 41 6c 6c 20 63 65 | 6c 6c 73 20 61 64 64 65 |. All ce|lls adde|
|00004310| 64 20 61 72 65 20 65 6d | 70 74 79 2e 20 49 66 20 |d are em|pty. If |
|00004320| 74 68 65 72 65 20 61 72 | 65 20 6e 6f 0d 63 65 6c |there ar|e no.cel|
|00004330| 6c 73 20 28 62 65 63 61 | 75 73 65 20 64 61 74 61 |ls (beca|use data|
|00004340| 42 6f 75 6e 64 73 2e 74 | 6f 70 20 3d 20 64 61 74 |Bounds.t|op = dat|
|00004350| 61 42 6f 75 6e 64 73 2e | 62 6f 74 74 6f 6d 29 2c |aBounds.|bottom),|
|00004360| 20 6e 6f 20 63 65 6c 6c | 73 20 61 72 65 20 61 64 | no cell|s are ad|
|00004370| 64 65 64 2c 20 62 75 74 | 20 64 61 74 61 42 6f 75 |ded, but| dataBou|
|00004380| 6e 64 73 0d 69 73 20 73 | 74 69 6c 6c 20 65 78 74 |nds.is s|till ext|
|00004390| 65 6e 64 65 64 2e 20 49 | 66 20 64 72 61 77 69 6e |ended. I|f drawin|
|000043a0| 67 20 69 73 20 6f 6e 20 | 61 6e 64 20 74 68 65 20 |g is on |and the |
|000043b0| 61 64 64 65 64 20 63 6f | 6c 75 6d 6e 73 20 28 77 |added co|lumns (w|
|000043c0| 68 69 63 68 20 61 72 65 | 20 65 6d 70 74 79 29 20 |hich are| empty) |
|000043d0| 61 72 65 0d 76 69 73 69 | 62 6c 65 2c 20 74 68 65 |are.visi|ble, the|
|000043e0| 20 6c 69 73 74 20 61 6e | 64 20 69 74 73 20 73 63 | list an|d its sc|
|000043f0| 72 6f 6c 6c 20 62 61 72 | 73 20 61 72 65 20 75 70 |roll bar|s are up|
|00004400| 64 61 74 65 64 2e 0d 0d | 46 55 4e 43 54 49 4f 4e |dated...|FUNCTION|
|00004410| 20 4c 41 64 64 52 6f 77 | 20 28 63 6f 75 6e 74 2c | LAddRow| (count,|
|00004420| 72 6f 77 4e 75 6d 3a ca | ca 49 4e 54 45 47 45 52 |rowNum:.|.INTEGER|
|00004430| 3b 20 6c 48 61 6e 64 6c | 65 3a ca ca 4c 69 73 74 |; lHandl|e:..List|
|00004440| 48 61 6e 64 6c 65 29 20 | 3a ca ca 49 4e 54 45 47 |Handle) |:..INTEG|
|00004450| 45 52 3b 0d 0d 4c 41 64 | 64 52 6f 77 20 69 6e 73 |ER;..LAd|dRow ins|
|00004460| 65 72 74 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |erts the| number |
|00004470| 6f 66 20 72 6f 77 73 20 | 73 70 65 63 69 66 69 65 |of rows |specifie|
|00004480| 64 20 62 79 20 74 68 65 | 20 63 6f 75 6e 74 20 70 |d by the| count p|
|00004490| 61 72 61 6d 65 74 65 72 | 2c 20 73 74 61 72 74 69 |arameter|, starti|
|000044a0| 6e 67 20 61 74 20 74 68 | 65 0d 72 6f 77 20 73 70 |ng at th|e.row sp|
|000044b0| 65 63 69 66 69 65 64 20 | 62 79 20 72 6f 77 4e 75 |ecified |by rowNu|
|000044c0| 6d 2e 20 52 6f 77 20 6e | 75 6d 62 65 72 73 20 74 |m. Row n|umbers t|
|000044d0| 68 61 74 20 61 72 65 20 | 67 72 65 61 74 65 72 20 |hat are |greater |
|000044e0| 74 68 61 6e 20 6f 72 20 | 65 71 75 61 6c 20 74 6f |than or |equal to|
|000044f0| 20 72 6f 77 4e 75 6d 20 | 61 72 65 0d 69 6e 63 72 | rowNum |are.incr|
|00004500| 65 61 73 65 64 20 62 79 | 20 63 6f 75 6e 74 2e 20 |eased by| count. |
|00004510| 49 66 20 72 6f 77 4e 75 | 6d 20 69 73 20 6e 6f 74 |If rowNu|m is not|
|00004520| 20 77 69 74 68 69 6e 20 | 64 61 74 61 42 6f 75 6e | within |dataBoun|
|00004530| 64 73 2c 20 6e 65 77 20 | 6c 61 73 74 20 72 6f 77 |ds, new |last row|
|00004540| 73 20 61 72 65 20 61 64 | 64 65 64 2e 20 54 68 65 |s are ad|ded. The|
|00004550| 0d 6e 75 6d 62 65 72 20 | 6f 66 20 74 68 65 20 66 |.number |of the f|
|00004560| 69 72 73 74 20 61 64 64 | 65 64 20 72 6f 77 20 69 |irst add|ed row i|
|00004570| 73 20 72 65 74 75 72 6e | 65 64 2c 20 61 6e 64 20 |s return|ed, and |
|00004580| 64 61 74 61 42 6f 75 6e | 64 73 2e 62 6f 74 74 6f |dataBoun|ds.botto|
|00004590| 6d 20 69 73 20 69 6e 63 | 72 65 61 73 65 64 20 62 |m is inc|reased b|
|000045a0| 79 0d 63 6f 75 6e 74 2e | 20 41 6c 6c 20 63 65 6c |y.count.| All cel|
|000045b0| 6c 73 20 61 64 64 65 64 | 20 61 72 65 20 65 6d 70 |ls added| are emp|
|000045c0| 74 79 2e 20 49 66 20 74 | 68 65 72 65 20 61 72 65 |ty. If t|here are|
|000045d0| 20 6e 6f 20 63 65 6c 6c | 73 0d 28 62 65 63 61 75 | no cell|s.(becau|
|000045e0| 73 65 20 64 61 74 61 42 | 6f 75 6e 64 73 2e 6c 65 |se dataB|ounds.le|
|000045f0| 66 74 20 3d 20 64 61 74 | 61 42 6f 75 6e 64 73 2e |ft = dat|aBounds.|
|00004600| 72 69 67 68 74 29 2c 20 | 6e 6f 20 63 65 6c 6c 73 |right), |no cells|
|00004610| 20 61 72 65 20 61 64 64 | 65 64 2c 20 62 75 74 20 | are add|ed, but |
|00004620| 64 61 74 61 42 6f 75 6e | 64 73 20 69 73 0d 73 74 |dataBoun|ds is.st|
|00004630| 69 6c 6c 20 65 78 74 65 | 6e 64 65 64 2e 20 49 66 |ill exte|nded. If|
|00004640| 20 64 72 61 77 69 6e 67 | 20 69 73 20 6f 6e 20 61 | drawing| is on a|
|00004650| 6e 64 20 74 68 65 20 61 | 64 64 65 64 20 72 6f 77 |nd the a|dded row|
|00004660| 73 20 28 77 68 69 63 68 | 20 61 72 65 20 65 6d 70 |s (which| are emp|
|00004670| 74 79 29 20 61 72 65 20 | 76 69 73 69 62 6c 65 2c |ty) are |visible,|
|00004680| 0d 74 68 65 20 6c 69 73 | 74 20 61 6e 64 20 69 74 |.the lis|t and it|
|00004690| 73 20 73 63 72 6f 6c 6c | 20 62 61 72 73 20 61 72 |s scroll| bars ar|
|000046a0| 65 20 75 70 64 61 74 65 | 64 2e 0d 0d 50 52 4f 43 |e update|d...PROC|
|000046b0| 45 44 55 52 45 20 4c 44 | 65 6c 43 6f 6c 75 6d 6e |EDURE LD|elColumn|
|000046c0| 20 28 63 6f 75 6e 74 2c | 63 6f 6c 4e 75 6d 3a ca | (count,|colNum:.|
|000046d0| ca 49 4e 54 45 47 45 52 | 3b 20 6c 48 61 6e 64 6c |.INTEGER|; lHandl|
|000046e0| 65 3a ca ca 4c 69 73 74 | 48 61 6e 64 6c 65 29 3b |e:..List|Handle);|
|000046f0| 0d 0d 4c 44 65 6c 43 6f | 6c 75 6d 6e 20 64 65 6c |..LDelCo|lumn del|
|00004700| 65 74 65 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |etes the| number |
|00004710| 6f 66 20 63 6f 6c 75 6d | 6e 73 20 73 70 65 63 69 |of colum|ns speci|
|00004720| 66 69 65 64 20 62 79 20 | 74 68 65 20 63 6f 75 6e |fied by |the coun|
|00004730| 74 20 70 61 72 61 6d 65 | 74 65 72 2c 20 73 74 61 |t parame|ter, sta|
|00004740| 72 74 69 6e 67 0d 77 69 | 74 68 20 74 68 65 20 63 |rting.wi|th the c|
|00004750| 6f 6c 75 6d 6e 20 73 70 | 65 63 69 66 69 65 64 20 |olumn sp|ecified |
|00004760| 62 79 20 63 6f 6c 4e 75 | 6d 2e 20 43 6f 6c 75 6d |by colNu|m. Colum|
|00004770| 6e 20 6e 75 6d 62 65 72 | 73 20 74 68 61 74 20 61 |n number|s that a|
|00004780| 72 65 20 67 72 65 61 74 | 65 72 20 74 68 61 6e 20 |re great|er than |
|00004790| 63 6f 6c 4e 75 6d 20 61 | 72 65 0d 64 65 63 72 65 |colNum a|re.decre|
|000047a0| 61 73 65 64 20 62 79 20 | 63 6f 75 6e 74 2e 20 49 |ased by |count. I|
|000047b0| 66 20 63 6f 6c 4e 75 6d | 20 69 73 20 6e 6f 74 20 |f colNum| is not |
|000047c0| 77 69 74 68 69 6e 20 64 | 61 74 61 42 6f 75 6e 64 |within d|ataBound|
|000047d0| 73 2c 20 6e 6f 74 68 69 | 6e 67 20 69 73 20 64 6f |s, nothi|ng is do|
|000047e0| 6e 65 2e 20 44 61 74 61 | 42 6f 75 6e 64 73 2e 72 |ne. Data|Bounds.r|
|000047f0| 69 67 68 74 0d 69 73 20 | 64 65 63 72 65 61 73 65 |ight.is |decrease|
|00004800| 64 20 62 79 20 63 6f 75 | 6e 74 2e 20 49 66 20 64 |d by cou|nt. If d|
|00004810| 72 61 77 69 6e 67 20 69 | 73 20 6f 6e 20 61 6e 64 |rawing i|s on and|
|00004820| 20 74 68 65 20 64 65 6c | 65 74 65 64 20 63 6f 6c | the del|eted col|
|00004830| 75 6d 6e 73 20 77 65 72 | 65 20 76 69 73 69 62 6c |umns wer|e visibl|
|00004840| 65 2c 20 74 68 65 0d 6c | 69 73 74 20 61 6e 64 20 |e, the.l|ist and |
|00004850| 69 74 73 20 73 63 72 6f | 6c 6c 20 62 61 72 73 20 |its scro|ll bars |
|00004860| 61 72 65 20 75 70 64 61 | 74 65 64 2e 0d 0d 49 66 |are upda|ted...If|
|00004870| 20 63 6f 75 6e 74 20 69 | 73 20 30 2c 20 6f 72 0d | count i|s 0, or.|
|00004880| 0d 20 20 63 6f 6c 4e 75 | 6d 20 3d 20 64 61 74 61 |. colNu|m = data|
|00004890| 42 6f 75 6e 64 73 2e 6c | 65 66 74 20 41 4e 44 20 |Bounds.l|eft AND |
|000048a0| 63 6f 75 6e 74 20 3e 20 | 3d 20 64 61 74 61 42 6f |count > |= dataBo|
|000048b0| 75 6e 64 73 2e 72 69 67 | 68 74 20 d0 20 64 61 74 |unds.rig|ht . dat|
|000048c0| 61 42 6f 75 6e 64 73 2e | 6c 65 66 74 0d 0d 61 6c |aBounds.|left..al|
|000048d0| 6c 20 74 68 65 20 64 61 | 74 61 20 69 6e 20 74 68 |l the da|ta in th|
|000048e0| 65 20 6c 69 73 74 20 69 | 73 20 71 75 69 63 6b 6c |e list i|s quickl|
|000048f0| 79 20 64 65 6c 65 74 65 | 64 2c 20 64 61 74 61 42 |y delete|d, dataB|
|00004900| 6f 75 6e 64 73 2e 72 69 | 67 68 74 20 69 73 20 73 |ounds.ri|ght is s|
|00004910| 65 74 20 74 6f 20 64 61 | 74 61 42 6f 75 6e 64 73 |et to da|taBounds|
|00004920| 2e 6c 65 66 74 2c 0d 61 | 6e 64 20 74 68 65 20 6e |.left,.a|nd the n|
|00004930| 75 6d 62 65 72 20 6f 66 | 20 72 6f 77 73 20 69 73 |umber of| rows is|
|00004940| 20 6c 65 66 74 20 75 6e | 63 68 61 6e 67 65 64 2e | left un|changed.|
|00004950| 0d 0d 50 52 4f 43 45 44 | 55 52 45 20 4c 44 65 6c |..PROCED|URE LDel|
|00004960| 52 6f 77 20 28 63 6f 75 | 6e 74 2c 72 6f 77 4e 75 |Row (cou|nt,rowNu|
|00004970| 6d 3a ca ca 49 4e 54 45 | 47 45 52 3b 20 6c 48 61 |m:..INTE|GER; lHa|
|00004980| 6e 64 6c 65 3a ca ca 4c | 69 73 74 48 61 6e 64 6c |ndle:..L|istHandl|
|00004990| 65 29 3b 0d 0d 4c 44 65 | 6c 52 6f 77 20 64 65 6c |e);..LDe|lRow del|
|000049a0| 65 74 65 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |etes the| number |
|000049b0| 6f 66 20 72 6f 77 73 20 | 73 70 65 63 69 66 69 65 |of rows |specifie|
|000049c0| 64 20 62 79 20 74 68 65 | 20 63 6f 75 6e 74 20 70 |d by the| count p|
|000049d0| 61 72 61 6d 65 74 65 72 | 2c 20 73 74 61 72 74 69 |arameter|, starti|
|000049e0| 6e 67 20 77 69 74 68 0d | 74 68 65 20 72 6f 77 20 |ng with.|the row |
|000049f0| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 72 6f 77 |specifie|d by row|
|00004a00| 4e 75 6d 2e 20 52 6f 77 | 20 6e 75 6d 62 65 72 73 |Num. Row| numbers|
|00004a10| 20 74 68 61 74 20 61 72 | 65 20 67 72 65 61 74 65 | that ar|e greate|
|00004a20| 72 20 74 68 61 6e 20 72 | 6f 77 4e 75 6d 20 61 72 |r than r|owNum ar|
|00004a30| 65 20 64 65 63 72 65 61 | 73 65 64 0d 62 79 20 63 |e decrea|sed.by c|
|00004a40| 6f 75 6e 74 2e 20 49 66 | 20 72 6f 77 4e 75 6d 20 |ount. If| rowNum |
|00004a50| 69 73 20 6e 6f 74 20 77 | 69 74 68 69 6e 20 64 61 |is not w|ithin da|
|00004a60| 74 61 42 6f 75 6e 64 73 | 2c 20 6e 6f 74 68 69 6e |taBounds|, nothin|
|00004a70| 67 20 69 73 20 64 6f 6e | 65 2e 20 44 61 74 61 42 |g is don|e. DataB|
|00004a80| 6f 75 6e 64 73 2e 62 6f | 74 74 6f 6d 20 69 73 0d |ounds.bo|ttom is.|
|00004a90| 64 65 63 72 65 61 73 65 | 64 20 62 79 20 63 6f 75 |decrease|d by cou|
|00004aa0| 6e 74 2e 20 49 66 20 64 | 72 61 77 69 6e 67 20 69 |nt. If d|rawing i|
|00004ab0| 73 20 6f 6e 20 61 6e 64 | 20 74 68 65 20 64 65 6c |s on and| the del|
|00004ac0| 65 74 65 64 20 72 6f 77 | 73 20 77 65 72 65 20 76 |eted row|s were v|
|00004ad0| 69 73 69 62 6c 65 2c 20 | 74 68 65 20 6c 69 73 74 |isible, |the list|
|00004ae0| 20 61 6e 64 0d 69 74 73 | 20 73 63 72 6f 6c 6c 20 | and.its| scroll |
|00004af0| 62 61 72 73 20 61 72 65 | 20 75 70 64 61 74 65 64 |bars are| updated|
|00004b00| 2e 0d 0d 49 66 20 63 6f | 75 6e 74 20 69 73 20 30 |...If co|unt is 0|
|00004b10| 2c 20 6f 72 0d 0d 20 20 | 72 6f 77 4e 75 6d 20 3d |, or.. |rowNum =|
|00004b20| 20 64 61 74 61 42 6f 75 | 6e 64 73 2e 74 6f 70 20 | dataBou|nds.top |
|00004b30| 41 4e 44 20 63 6f 75 6e | 74 20 3e 20 3d 20 64 61 |AND coun|t > = da|
|00004b40| 74 61 42 6f 75 6e 64 73 | 2e 62 6f 74 74 6f 6d 20 |taBounds|.bottom |
|00004b50| d0 20 64 61 74 61 42 6f | 75 6e 64 73 2e 74 6f 70 |. dataBo|unds.top|
|00004b60| 0d 0d 61 6c 6c 20 74 68 | 65 20 64 61 74 61 20 69 |..all th|e data i|
|00004b70| 6e 20 74 68 65 20 6c 69 | 73 74 20 69 73 20 71 75 |n the li|st is qu|
|00004b80| 69 63 6b 6c 79 20 64 65 | 6c 65 74 65 64 2c 20 64 |ickly de|leted, d|
|00004b90| 61 74 61 42 6f 75 6e 64 | 73 2e 62 6f 74 74 6f 6d |ataBound|s.bottom|
|00004ba0| 20 69 73 20 73 65 74 20 | 74 6f 20 64 61 74 61 42 | is set |to dataB|
|00004bb0| 6f 75 6e 64 73 2e 74 6f | 70 2c 0d 61 6e 64 20 74 |ounds.to|p,.and t|
|00004bc0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 6f 6c |he numbe|r of col|
|00004bd0| 75 6d 6e 73 20 69 73 20 | 6c 65 66 74 20 75 6e 63 |umns is |left unc|
|00004be0| 68 61 6e 67 65 64 2e 0d | 0d 5f 5f 5f 5f 5f 5f 5f |hanged..|._______|
|00004bf0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004c00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004c10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004c20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004c30| 5f 5f 5f 5f 5f 5f 5f 5f | 0d 0d c8 4f 70 65 72 61 |________|...Opera|
|00004c40| 74 69 6f 6e 73 20 6f 6e | 20 43 65 6c 6c 73 0d 0d |tions on| Cells..|
|00004c50| 50 52 4f 43 45 44 55 52 | 45 20 4c 41 64 64 54 6f |PROCEDUR|E LAddTo|
|00004c60| 43 65 6c 6c 20 28 64 61 | 74 61 50 74 72 3a ca ca |Cell (da|taPtr:..|
|00004c70| 50 74 72 3b 20 64 61 74 | 61 4c 65 6e 3a ca ca 49 |Ptr; dat|aLen:..I|
|00004c80| 4e 54 45 47 45 52 3b 20 | 74 68 65 43 65 6c 6c 3a |NTEGER; |theCell:|
|00004c90| ca ca 43 65 6c 6c 3b 0d | 20 20 20 20 20 20 20 20 |..Cell;.| |
|00004ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 48 | | lH|
|00004cb0| 61 6e 64 6c 65 3a ca ca | 4c 69 73 74 48 61 6e 64 |andle:..|ListHand|
|00004cc0| 6c 65 29 3b 0d 0d 4c 41 | 64 64 54 6f 43 65 6c 6c |le);..LA|ddToCell|
|00004cd0| 20 61 70 70 65 6e 64 73 | 20 74 68 65 20 64 61 74 | appends| the dat|
|00004ce0| 61 20 70 6f 69 6e 74 65 | 64 20 74 6f 20 62 79 20 |a pointe|d to by |
|00004cf0| 64 61 74 61 50 74 72 20 | 61 6e 64 20 6f 66 20 6c |dataPtr |and of l|
|00004d00| 65 6e 67 74 68 20 64 61 | 74 61 4c 65 6e 20 74 6f |ength da|taLen to|
|00004d10| 20 74 68 65 20 63 65 6c | 6c 0d 73 70 65 63 69 66 | the cel|l.specif|
|00004d20| 69 65 64 20 62 79 20 74 | 68 65 43 65 6c 6c 20 69 |ied by t|heCell i|
|00004d30| 6e 20 6c 48 61 6e 64 6c | 65 2e 20 49 66 20 64 72 |n lHandl|e. If dr|
|00004d40| 61 77 69 6e 67 20 69 73 | 20 6f 66 66 2c 20 79 6f |awing is| off, yo|
|00004d50| 75 20 6d 75 73 74 20 74 | 75 72 6e 20 64 72 61 77 |u must t|urn draw|
|00004d60| 69 6e 67 20 6f 6e 20 61 | 6e 64 20 63 61 6c 6c 0d |ing on a|nd call.|
|00004d70| 4c 44 72 61 77 20 28 6f | 72 20 4c 55 70 64 61 74 |LDraw (o|r LUpdat|
|00004d80| 65 29 20 74 6f 20 64 69 | 73 70 6c 61 79 20 74 68 |e) to di|splay th|
|00004d90| 65 20 63 65 6c 6c d5 73 | 20 6e 65 77 20 76 61 6c |e cell.s| new val|
|00004da0| 75 65 2e 0d 0d 50 52 4f | 43 45 44 55 52 45 20 4c |ue...PRO|CEDURE L|
|00004db0| 43 6c 72 43 65 6c 6c 20 | 28 74 68 65 43 65 6c 6c |ClrCell |(theCell|
|00004dc0| 3a ca ca 43 65 6c 6c 3b | 20 6c 48 61 6e 64 6c 65 |:..Cell;| lHandle|
|00004dd0| 3a ca ca 4c 69 73 74 48 | 61 6e 64 6c 65 29 3b 0d |:..ListH|andle);.|
|00004de0| 0d 4c 43 6c 72 43 65 6c | 6c 20 63 6c 65 61 72 73 |.LClrCel|l clears|
|00004df0| 20 74 68 65 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 | the con|tents of|
|00004e00| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 63 | the spe|cified c|
|00004e10| 65 6c 6c 20 28 62 79 20 | 73 65 74 74 69 6e 67 20 |ell (by |setting |
|00004e20| 74 68 65 20 6c 65 6e 67 | 74 68 20 74 6f 20 30 29 |the leng|th to 0)|
|00004e30| 2e 20 49 66 0d 74 68 65 | 43 65 6c 6c 20 69 73 20 |. If.the|Cell is |
|00004e40| 6e 6f 74 20 61 20 76 61 | 6c 69 64 20 63 65 6c 6c |not a va|lid cell|
|00004e50| 2c 20 6e 6f 74 68 69 6e | 67 20 69 73 20 64 6f 6e |, nothin|g is don|
|00004e60| 65 2e 20 49 66 20 64 72 | 61 77 69 6e 67 20 69 73 |e. If dr|awing is|
|00004e70| 20 6f 66 66 2c 20 79 6f | 75 20 6d 75 73 74 20 74 | off, yo|u must t|
|00004e80| 75 72 6e 20 64 72 61 77 | 69 6e 67 0d 6f 6e 20 61 |urn draw|ing.on a|
|00004e90| 6e 64 20 63 61 6c 6c 20 | 4c 44 72 61 77 20 74 6f |nd call |LDraw to|
|00004ea0| 20 64 69 73 70 6c 61 79 | 20 74 68 65 20 63 65 6c | display| the cel|
|00004eb0| 6c d5 73 20 6e 65 77 20 | 76 61 6c 75 65 20 28 6f |l.s new |value (o|
|00004ec0| 72 20 73 69 6d 70 6c 79 | 20 63 61 6c 6c 20 74 68 |r simply| call th|
|00004ed0| 65 20 57 69 6e 64 6f 77 | 20 4d 61 6e 61 67 65 72 |e Window| Manager|
|00004ee0| 0d 70 72 6f 63 65 64 75 | 72 65 20 49 6e 76 61 6c |.procedu|re Inval|
|00004ef0| 52 65 63 74 29 2e 0d 0d | 50 52 4f 43 45 44 55 52 |Rect)...|PROCEDUR|
|00004f00| 45 20 4c 47 65 74 43 65 | 6c 6c 20 28 64 61 74 61 |E LGetCe|ll (data|
|00004f10| 50 74 72 3a ca ca 50 74 | 72 3b 20 56 41 52 20 64 |Ptr:..Pt|r; VAR d|
|00004f20| 61 74 61 4c 65 6e 3a ca | ca 49 4e 54 45 47 45 52 |ataLen:.|.INTEGER|
|00004f30| 3b 20 74 68 65 43 65 6c | 6c 3a ca ca 43 65 6c 6c |; theCel|l:..Cell|
|00004f40| 3b 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00004f50| 20 20 20 20 20 20 6c 48 | 61 6e 64 6c 65 3a ca ca | lH|andle:..|
|00004f60| 4c 69 73 74 48 61 6e 64 | 6c 65 29 3b 0d 0d 47 69 |ListHand|le);..Gi|
|00004f70| 76 65 6e 20 61 20 63 65 | 6c 6c 20 69 6e 20 74 68 |ven a ce|ll in th|
|00004f80| 65 43 65 6c 6c 2c 20 4c | 47 65 74 43 65 6c 6c 20 |eCell, L|GetCell |
|00004f90| 63 6f 70 69 65 73 20 74 | 68 65 20 63 65 6c 6c d5 |copies t|he cell.|
|00004fa0| 73 20 64 61 74 61 20 74 | 6f 20 74 68 65 20 6c 6f |s data t|o the lo|
|00004fb0| 63 61 74 69 6f 6e 20 73 | 70 65 63 69 66 69 65 64 |cation s|pecified|
|00004fc0| 20 62 79 0d 64 61 74 61 | 50 74 72 3b 20 64 61 74 | by.data|Ptr; dat|
|00004fd0| 61 4c 65 6e 20 69 73 20 | 74 68 65 20 6d 61 78 69 |aLen is |the maxi|
|00004fe0| 6d 75 6d 20 6e 75 6d 62 | 65 72 20 6f 66 20 62 79 |mum numb|er of by|
|00004ff0| 74 65 73 20 61 6c 6c 6f | 77 65 64 2e 20 49 66 20 |tes allo|wed. If |
|00005000| 74 68 65 20 64 61 74 61 | 20 69 73 20 6c 6f 6e 67 |the data| is long|
|00005010| 65 72 20 74 68 61 6e 0d | 64 61 74 61 4c 65 6e 2c |er than.|dataLen,|
|00005020| 20 6f 6e 6c 79 20 64 61 | 74 61 4c 65 6e 20 62 79 | only da|taLen by|
|00005030| 74 65 73 20 61 72 65 20 | 63 6f 70 69 65 64 20 69 |tes are |copied i|
|00005040| 6e 74 6f 20 74 68 65 20 | 6c 6f 63 61 74 69 6f 6e |nto the |location|
|00005050| 20 73 70 65 63 69 66 69 | 65 64 20 62 79 20 64 61 | specifi|ed by da|
|00005060| 74 61 50 74 72 2e 20 49 | 66 20 74 68 65 0d 64 61 |taPtr. I|f the.da|
|00005070| 74 61 20 69 73 20 73 68 | 6f 72 74 65 72 20 74 68 |ta is sh|orter th|
|00005080| 61 6e 20 64 61 74 61 4c | 65 6e 2c 20 64 61 74 61 |an dataL|en, data|
|00005090| 4c 65 6e 20 69 73 20 73 | 65 74 20 74 6f 20 74 68 |Len is s|et to th|
|000050a0| 65 20 74 72 75 65 20 6c | 65 6e 67 74 68 20 6f 66 |e true l|ength of|
|000050b0| 20 74 68 65 20 63 65 6c | 6c d5 73 20 64 61 74 61 | the cel|l.s data|
|000050c0| 2e 0d 0d 50 52 4f 43 45 | 44 55 52 45 20 4c 53 65 |...PROCE|DURE LSe|
|000050d0| 74 43 65 6c 6c 20 28 64 | 61 74 61 50 74 72 3a ca |tCell (d|ataPtr:.|
|000050e0| ca 50 74 72 3b 20 64 61 | 74 61 4c 65 6e 3a ca ca |.Ptr; da|taLen:..|
|000050f0| 49 4e 54 45 47 45 52 3b | 20 74 68 65 43 65 6c 6c |INTEGER;| theCell|
|00005100| 3a ca ca 43 65 6c 6c 3b | 0d 20 20 20 20 20 20 20 |:..Cell;|. |
|00005110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 48 61 | | lHa|
|00005120| 6e 64 6c 65 3a ca ca 4c | 69 73 74 48 61 6e 64 6c |ndle:..L|istHandl|
|00005130| 65 29 3b 0d 0d 4c 53 65 | 74 43 65 6c 6c 20 70 6c |e);..LSe|tCell pl|
|00005140| 61 63 65 73 20 74 68 65 | 20 64 61 74 61 20 70 6f |aces the| data po|
|00005150| 69 6e 74 65 64 20 74 6f | 20 62 79 20 64 61 74 61 |inted to| by data|
|00005160| 50 74 72 20 61 6e 64 20 | 6f 66 20 6c 65 6e 67 74 |Ptr and |of lengt|
|00005170| 68 20 64 61 74 61 4c 65 | 6e 20 69 6e 74 6f 20 74 |h dataLe|n into t|
|00005180| 68 65 20 73 70 65 63 69 | 66 69 65 64 0d 63 65 6c |he speci|fied.cel|
|00005190| 6c 2e 20 49 74 20 72 65 | 70 6c 61 63 65 73 20 61 |l. It re|places a|
|000051a0| 6e 79 20 64 61 74 61 20 | 74 68 61 74 20 77 61 73 |ny data |that was|
|000051b0| 20 61 6c 72 65 61 64 79 | 20 69 6e 20 74 68 65 20 | already| in the |
|000051c0| 63 65 6c 6c 2e 20 49 66 | 20 64 61 74 61 4c 65 6e |cell. If| dataLen|
|000051d0| 20 69 73 20 30 2c 20 74 | 68 69 73 20 69 73 0d 65 | is 0, t|his is.e|
|000051e0| 71 75 69 76 61 6c 65 6e | 74 20 74 6f 20 4c 43 6c |quivalen|t to LCl|
|000051f0| 72 43 65 6c 6c 2e 20 49 | 66 20 74 68 65 43 65 6c |rCell. I|f theCel|
|00005200| 6c 20 69 73 20 6e 6f 74 | 20 61 20 76 61 6c 69 64 |l is not| a valid|
|00005210| 20 63 65 6c 6c 2c 20 6e | 6f 74 68 69 6e 67 20 69 | cell, n|othing i|
|00005220| 73 20 64 6f 6e 65 2e 20 | 49 66 20 64 72 61 77 69 |s done. |If drawi|
|00005230| 6e 67 0d 69 73 20 6f 66 | 66 2c 20 79 6f 75 20 6d |ng.is of|f, you m|
|00005240| 75 73 74 20 74 75 72 6e | 20 64 72 61 77 69 6e 67 |ust turn| drawing|
|00005250| 20 6f 6e 20 61 6e 64 20 | 63 61 6c 6c 20 4c 44 72 | on and |call LDr|
|00005260| 61 77 20 28 6f 72 20 4c | 55 70 64 61 74 65 29 20 |aw (or L|Update) |
|00005270| 74 6f 20 64 69 73 70 6c | 61 79 20 74 68 65 20 63 |to displ|ay the c|
|00005280| 65 6c 6c d5 73 0d 6e 65 | 77 20 76 61 6c 75 65 2e |ell.s.ne|w value.|
|00005290| 0d 0d 50 52 4f 43 45 44 | 55 52 45 20 4c 43 65 6c |..PROCED|URE LCel|
|000052a0| 6c 53 69 7a 65 20 28 63 | 53 69 7a 65 3a ca ca 50 |lSize (c|Size:..P|
|000052b0| 6f 69 6e 74 3b 20 6c 48 | 61 6e 64 6c 65 3a ca ca |oint; lH|andle:..|
|000052c0| 4c 69 73 74 48 61 6e 64 | 6c 65 29 3b 0d 0d 4c 43 |ListHand|le);..LC|
|000052d0| 65 6c 6c 53 69 7a 65 20 | 73 65 74 73 20 74 68 65 |ellSize |sets the|
|000052e0| 20 63 65 6c 6c 53 69 7a | 65 20 66 69 65 6c 64 20 | cellSiz|e field |
|000052f0| 69 6e 20 74 68 65 20 6c | 69 73 74 20 72 65 63 6f |in the l|ist reco|
|00005300| 72 64 20 74 6f 20 63 53 | 69 7a 65 20 61 6e 64 20 |rd to cS|ize and |
|00005310| 75 70 64 61 74 65 73 20 | 74 68 65 20 76 69 73 69 |updates |the visi|
|00005320| 62 6c 65 0d 72 65 63 74 | 61 6e 67 6c 65 20 74 6f |ble.rect|angle to|
|00005330| 20 63 6f 6e 74 61 69 6e | 20 63 65 6c 6c 73 20 6f | contain| cells o|
|00005340| 66 20 74 68 69 73 20 73 | 69 7a 65 2e 20 54 68 69 |f this s|ize. Thi|
|00005350| 73 20 63 6f 6d 6d 61 6e | 64 20 73 68 6f 75 6c 64 |s comman|d should|
|00005360| 20 62 65 20 75 73 65 64 | 20 6f 6e 6c 79 20 62 65 | be used| only be|
|00005370| 66 6f 72 65 20 61 6e 79 | 0d 63 65 6c 6c 73 20 68 |fore any|.cells h|
|00005380| 61 76 65 20 62 65 65 6e | 20 64 72 61 77 6e 2e 0d |ave been| drawn..|
|00005390| 0d 46 55 4e 43 54 49 4f | 4e 20 4c 47 65 74 53 65 |.FUNCTIO|N LGetSe|
|000053a0| 6c 65 63 74 20 28 6e 65 | 78 74 3a ca ca 42 4f 4f |lect (ne|xt:..BOO|
|000053b0| 4c 45 41 4e 3b 20 56 41 | 52 20 74 68 65 43 65 6c |LEAN; VA|R theCel|
|000053c0| 6c 3a ca ca 43 65 6c 6c | 3b 0d 20 20 20 20 20 20 |l:..Cell|;. |
|000053d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l|
|000053e0| 48 61 6e 64 6c 65 3a ca | ca 4c 69 73 74 48 61 6e |Handle:.|.ListHan|
|000053f0| 64 6c 65 29 20 3a ca ca | 42 4f 4f 4c 45 41 4e 3b |dle) :..|BOOLEAN;|
|00005400| 0d 0d 49 66 20 6e 65 78 | 74 20 69 73 20 46 41 4c |..If nex|t is FAL|
|00005410| 53 45 2c 20 4c 47 65 74 | 53 65 6c 65 63 74 20 72 |SE, LGet|Select r|
|00005420| 65 74 75 72 6e 73 20 54 | 52 55 45 20 69 66 20 74 |eturns T|RUE if t|
|00005430| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 63 65 6c |he speci|fied cel|
|00005440| 6c 20 69 73 20 73 65 6c | 65 63 74 65 64 2c 20 6f |l is sel|ected, o|
|00005450| 72 20 46 41 4c 53 45 0d | 69 66 20 6e 6f 74 2e 20 |r FALSE.|if not. |
|00005460| 49 66 20 6e 65 78 74 20 | 69 73 20 54 52 55 45 2c |If next |is TRUE,|
|00005470| 20 4c 47 65 74 53 65 6c | 65 63 74 20 72 65 74 75 | LGetSel|ect retu|
|00005480| 72 6e 73 20 69 6e 20 63 | 20 74 68 65 20 63 65 6c |rns in c| the cel|
|00005490| 6c 20 63 6f 6f 72 64 69 | 6e 61 74 65 73 20 6f 66 |l coordi|nates of|
|000054a0| 20 74 68 65 20 6e 65 78 | 74 0d 73 65 6c 65 63 74 | the nex|t.select|
|000054b0| 65 64 20 63 65 6c 6c 20 | 69 6e 20 74 68 65 20 72 |ed cell |in the r|
|000054c0| 6f 77 20 74 68 61 74 20 | 69 73 20 67 72 65 61 74 |ow that |is great|
|000054d0| 65 72 20 74 68 61 6e 20 | 6f 72 20 65 71 75 61 6c |er than |or equal|
|000054e0| 20 74 6f 20 74 68 65 43 | 65 6c 6c 2e 20 49 66 20 | to theC|ell. If |
|000054f0| 74 68 65 72 65 20 61 72 | 65 20 6e 6f 0d 6d 6f 72 |there ar|e no.mor|
|00005500| 65 20 63 65 6c 6c 73 20 | 69 6e 20 74 68 65 20 72 |e cells |in the r|
|00005510| 6f 77 2c 20 69 74 20 72 | 65 74 75 72 6e 73 20 69 |ow, it r|eturns i|
|00005520| 6e 20 74 68 65 43 65 6c | 6c 20 74 68 65 20 63 65 |n theCel|l the ce|
|00005530| 6c 6c 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 20 6f |ll coord|inates o|
|00005540| 66 20 74 68 65 20 6e 65 | 78 74 20 73 65 6c 65 63 |f the ne|xt selec|
|00005550| 74 65 64 0d 63 65 6c 6c | 20 69 6e 20 74 68 65 20 |ted.cell| in the |
|00005560| 6e 65 78 74 20 72 6f 77 | 2e 20 49 66 20 74 68 65 |next row|. If the|
|00005570| 72 65 20 61 72 65 20 6e | 6f 20 6d 6f 72 65 20 72 |re are n|o more r|
|00005580| 6f 77 73 2c 20 46 41 4c | 53 45 20 69 73 20 72 65 |ows, FAL|SE is re|
|00005590| 74 75 72 6e 65 64 2e 0d | 0d 50 52 4f 43 45 44 55 |turned..|.PROCEDU|
|000055a0| 52 45 20 4c 53 65 74 53 | 65 6c 65 63 74 20 28 73 |RE LSetS|elect (s|
|000055b0| 65 74 49 74 3a ca ca 42 | 4f 4f 4c 45 41 4e 3b 20 |etIt:..B|OOLEAN; |
|000055c0| 74 68 65 43 65 6c 6c 3a | ca ca 43 65 6c 6c 3b 20 |theCell:|..Cell; |
|000055d0| 6c 48 61 6e 64 6c 65 3a | ca ca 4c 69 73 74 48 61 |lHandle:|..ListHa|
|000055e0| 6e 64 6c 65 29 3b 0d 0d | 49 66 20 73 65 74 49 74 |ndle);..|If setIt|
|000055f0| 20 69 73 20 54 52 55 45 | 2c 20 4c 53 65 74 53 65 | is TRUE|, LSetSe|
|00005600| 6c 65 63 74 20 73 65 6c | 65 63 74 73 20 74 68 65 |lect sel|ects the|
|00005610| 20 63 65 6c 6c 20 61 6e | 64 20 72 65 64 72 61 77 | cell an|d redraw|
|00005620| 73 20 69 66 20 69 74 20 | 69 73 20 76 69 73 69 62 |s if it |is visib|
|00005630| 6c 65 20 61 6e 64 20 77 | 61 73 0d 70 72 65 76 69 |le and w|as.previ|
|00005640| 6f 75 73 6c 79 20 75 6e | 73 65 6c 65 63 74 65 64 |ously un|selected|
|00005650| 2e 20 49 66 20 73 65 74 | 49 74 20 69 73 20 46 41 |. If set|It is FA|
|00005660| 4c 53 45 2c 20 69 74 20 | 64 65 73 65 6c 65 63 74 |LSE, it |deselect|
|00005670| 73 20 74 68 65 20 63 65 | 6c 6c 20 61 6e 64 20 72 |s the ce|ll and r|
|00005680| 65 64 72 61 77 73 20 69 | 66 20 6e 65 63 65 73 73 |edraws i|f necess|
|00005690| 61 72 79 2e 0d 0d 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |ary...__|________|
|000056a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000056b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000056c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000056d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000056e0| 5f 5f 5f 5f 5f 0d 0d c8 | 4d 6f 75 73 65 20 4c 6f |_____...|Mouse Lo|
|000056f0| 63 61 74 69 6f 6e 0d 0d | 46 55 4e 43 54 49 4f 4e |cation..|FUNCTION|
|00005700| 20 4c 43 6c 69 63 6b 20 | 28 70 74 3a ca ca 50 6f | LClick |(pt:..Po|
|00005710| 69 6e 74 3b 20 6d 6f 64 | 69 66 69 65 72 73 3a ca |int; mod|ifiers:.|
|00005720| ca 49 4e 54 45 47 45 52 | 3b 0d 20 20 20 20 20 20 |.INTEGER|;. |
|00005730| 20 20 20 20 20 20 20 20 | 20 20 20 6c 48 61 6e 64 | | lHand|
|00005740| 6c 65 3a ca ca 4c 69 73 | 74 48 61 6e 64 6c 65 29 |le:..Lis|tHandle)|
|00005750| 20 3a ca ca 42 4f 4f 4c | 45 41 4e 3b 0d 0d 43 61 | :..BOOL|EAN;..Ca|
|00005760| 6c 6c 20 4c 43 6c 69 63 | 6b 20 77 68 65 6e 20 74 |ll LClic|k when t|
|00005770| 68 65 72 65 20 69 73 20 | 61 20 6d 6f 75 73 65 2d |here is |a mouse-|
|00005780| 64 6f 77 6e 20 65 76 65 | 6e 74 20 69 6e 20 74 68 |down eve|nt in th|
|00005790| 65 20 64 65 73 74 69 6e | 61 74 69 6f 6e 20 72 65 |e destin|ation re|
|000057a0| 63 74 61 6e 67 6c 65 20 | 6f 72 20 69 74 73 0d 73 |ctangle |or its.s|
|000057b0| 63 72 6f 6c 6c 20 62 61 | 72 73 2e 20 50 74 20 69 |croll ba|rs. Pt i|
|000057c0| 73 20 74 68 65 20 6d 6f | 75 73 65 20 6c 6f 63 61 |s the mo|use loca|
|000057d0| 74 69 6f 6e 20 69 6e 20 | 6c 6f 63 61 6c 20 63 6f |tion in |local co|
|000057e0| 6f 72 64 69 6e 61 74 65 | 73 2e 20 4d 6f 64 69 66 |ordinate|s. Modif|
|000057f0| 69 65 72 73 20 69 73 20 | 74 68 65 20 6d 6f 64 69 |iers is |the modi|
|00005800| 66 69 65 72 73 0d 77 6f | 72 64 20 66 72 6f 6d 20 |fiers.wo|rd from |
|00005810| 74 68 65 20 65 76 65 6e | 74 20 72 65 63 6f 72 64 |the even|t record|
|00005820| 2e 20 4c 48 61 6e 64 6c | 65 20 69 73 20 74 68 65 |. LHandl|e is the|
|00005830| 20 6c 69 73 74 20 74 6f | 20 62 65 20 74 72 61 63 | list to| be trac|
|00005840| 6b 65 64 2e 20 54 68 65 | 20 72 65 73 75 6c 74 20 |ked. The| result |
|00005850| 69 73 20 54 52 55 45 20 | 69 66 0d 61 20 64 6f 75 |is TRUE |if.a dou|
|00005860| 62 6c 65 2d 63 6c 69 63 | 6b 20 6f 63 63 75 72 72 |ble-clic|k occurr|
|00005870| 65 64 20 28 61 6e 64 20 | 74 68 65 20 74 77 6f 20 |ed (and |the two |
|00005880| 63 6c 69 63 6b 73 20 74 | 6f 6f 6b 20 70 6c 61 63 |clicks t|ook plac|
|00005890| 65 20 77 69 74 68 69 6e | 20 74 68 65 20 73 61 6d |e within| the sam|
|000058a0| 65 20 63 65 6c 6c 29 2e | 0d 0d 4c 43 6c 69 63 6b |e cell).|..LClick|
|000058b0| 20 6b 65 65 70 73 20 63 | 6f 6e 74 72 6f 6c 20 75 | keeps c|ontrol u|
|000058c0| 6e 74 69 6c 20 74 68 65 | 20 6d 6f 75 73 65 20 69 |ntil the| mouse i|
|000058d0| 73 20 72 65 6c 65 61 73 | 65 64 3b 20 65 61 63 68 |s releas|ed; each|
|000058e0| 20 74 69 6d 65 20 74 68 | 72 6f 75 67 68 20 69 74 | time th|rough it|
|000058f0| 73 20 69 6e 6e 65 72 20 | 6c 6f 6f 70 2c 0d 69 74 |s inner |loop,.it|
|00005900| 20 63 61 6c 6c 73 20 74 | 68 65 20 72 6f 75 74 69 | calls t|he routi|
|00005910| 6e 65 20 77 68 6f 73 65 | 20 70 6f 69 6e 74 65 72 |ne whose| pointer|
|00005920| 20 69 73 20 69 6e 20 74 | 68 65 20 6c 43 6c 69 6b | is in t|he lClik|
|00005930| 4c 6f 6f 70 20 66 69 65 | 6c 64 20 6f 66 20 74 68 |Loop fie|ld of th|
|00005940| 65 20 6c 69 73 74 20 72 | 65 63 6f 72 64 2e 0d 0d |e list r|ecord...|
|00005950| 49 66 20 74 68 65 20 6d | 6f 75 73 65 20 69 73 20 |If the m|ouse is |
|00005960| 69 6e 20 74 68 65 20 76 | 69 73 69 62 6c 65 20 72 |in the v|isible r|
|00005970| 65 63 74 61 6e 67 6c 65 | 2c 20 63 65 6c 6c 73 20 |ectangle|, cells |
|00005980| 61 72 65 20 73 65 6c 65 | 63 74 65 64 20 61 63 63 |are sele|cted acc|
|00005990| 6f 72 64 69 6e 67 20 74 | 6f 20 74 68 65 20 73 74 |ording t|o the st|
|000059a0| 61 74 65 0d 6f 66 20 74 | 68 65 20 6d 6f 64 69 66 |ate.of t|he modif|
|000059b0| 69 65 72 73 20 61 6e 64 | 20 74 68 65 20 73 65 6c |iers and| the sel|
|000059c0| 65 63 74 69 6f 6e 20 66 | 6c 61 67 73 2e 20 49 66 |ection f|lags. If|
|000059d0| 20 74 68 65 20 6d 6f 75 | 73 65 20 77 61 73 20 69 | the mou|se was i|
|000059e0| 6e 20 74 68 65 20 63 65 | 6c 6c 73 20 62 75 74 20 |n the ce|lls but |
|000059f0| 69 73 20 64 72 61 67 67 | 65 64 0d 6f 75 74 73 69 |is dragg|ed.outsi|
|00005a00| 64 65 20 74 68 65 20 6c | 69 73 74 d5 73 20 72 65 |de the l|ist.s re|
|00005a10| 63 74 61 6e 67 6c 65 2c | 20 74 68 65 20 6c 69 73 |ctangle,| the lis|
|00005a20| 74 20 69 73 20 61 75 74 | 6f 2d 73 63 72 6f 6c 6c |t is aut|o-scroll|
|00005a30| 65 64 2e 20 49 66 20 74 | 68 65 20 6d 6f 75 73 65 |ed. If t|he mouse|
|00005a40| 20 77 61 73 20 69 6e 20 | 61 20 63 6f 6e 74 72 6f | was in |a contro|
|00005a50| 6c 2c 0d 74 68 65 20 63 | 6f 6e 74 72 6f 6c d5 73 |l,.the c|ontrol.s|
|00005a60| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 70 72 6f 63 | definit|ion proc|
|00005a70| 65 64 75 72 65 20 69 73 | 20 63 61 6c 6c 65 64 20 |edure is| called |
|00005a80| 74 6f 20 74 72 61 63 6b | 20 74 68 65 20 6d 6f 75 |to track| the mou|
|00005a90| 73 65 2e 20 54 6f 20 64 | 69 73 63 6f 76 65 72 20 |se. To d|iscover |
|00005aa0| 77 68 69 63 68 0d 63 65 | 6c 6c 20 77 61 73 20 63 |which.ce|ll was c|
|00005ab0| 6c 69 63 6b 65 64 20 69 | 6e 2c 20 75 73 65 20 74 |licked i|n, use t|
|00005ac0| 68 65 20 4c 4c 61 73 74 | 43 6c 69 63 6b 20 66 75 |he LLast|Click fu|
|00005ad0| 6e 63 74 69 6f 6e 2e 0d | 0d 46 55 4e 43 54 49 4f |nction..|.FUNCTIO|
|00005ae0| 4e 20 4c 4c 61 73 74 43 | 6c 69 63 6b 20 28 6c 48 |N LLastC|lick (lH|
|00005af0| 61 6e 64 6c 65 3a ca ca | 4c 69 73 74 48 61 6e 64 |andle:..|ListHand|
|00005b00| 6c 65 29 20 3a ca ca 43 | 65 6c 6c 3b 0d 0d 4c 4c |le) :..C|ell;..LL|
|00005b10| 61 73 74 43 6c 69 63 6b | 20 72 65 74 75 72 6e 73 |astClick| returns|
|00005b20| 20 74 68 65 20 63 65 6c | 6c 20 63 6f 6f 72 64 69 | the cel|l coordi|
|00005b30| 6e 61 74 65 73 20 6f 66 | 20 74 68 65 20 6c 61 73 |nates of| the las|
|00005b40| 74 20 63 65 6c 6c 20 63 | 6c 69 63 6b 65 64 20 69 |t cell c|licked i|
|00005b50| 6e 2e 20 49 66 20 6e 6f | 20 63 65 6c 6c 20 68 61 |n. If no| cell ha|
|00005b60| 73 0d 62 65 65 6e 20 63 | 6c 69 63 6b 65 64 20 69 |s.been c|licked i|
|00005b70| 6e 20 73 69 6e 63 65 20 | 4c 4e 65 77 2c 20 74 68 |n since |LNew, th|
|00005b80| 65 20 76 61 6c 75 65 20 | 72 65 74 75 72 6e 65 64 |e value |returned|
|00005b90| 20 28 66 6f 72 20 62 6f | 74 68 20 69 6e 74 65 67 | (for bo|th integ|
|00005ba0| 65 72 73 29 20 69 73 20 | 6e 65 67 61 74 69 76 65 |ers) is |negative|
|00005bb0| 2e 0d 0d 4e 6f 74 65 3a | 20 20 54 68 65 20 76 61 |...Note:| The va|
|00005bc0| 6c 75 65 20 72 65 74 75 | 72 6e 65 64 20 62 79 20 |lue retu|rned by |
|00005bd0| 74 68 69 73 20 63 61 6c | 6c 20 69 73 20 6e 6f 74 |this cal|l is not|
|00005be0| 20 74 68 65 20 6c 61 73 | 74 20 63 65 6c 6c 20 64 | the las|t cell d|
|00005bf0| 6f 75 62 6c 65 2d 63 6c | 69 63 6b 65 64 0d 20 20 |ouble-cl|icked. |
|00005c00| 20 20 20 20 20 69 6e 2c | 20 6f 72 20 74 68 65 20 | in,| or the |
|00005c10| 6c 61 73 74 20 63 65 6c | 6c 20 73 65 6c 65 63 74 |last cel|l select|
|00005c20| 65 64 2c 20 62 75 74 20 | 6d 65 72 65 6c 79 20 74 |ed, but |merely t|
|00005c30| 68 65 20 6c 61 73 74 20 | 63 65 6c 6c 20 63 6c 69 |he last |cell cli|
|00005c40| 63 6b 65 64 20 69 6e 2e | 0d 0d 5f 5f 5f 5f 5f 5f |cked in.|..______|
|00005c50| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005c60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005c70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005c80| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005c90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 0d 0d c8 41 63 63 65 |________|_...Acce|
|00005ca0| 73 73 69 6e 67 20 43 65 | 6c 6c 73 0d 0d 50 52 4f |ssing Ce|lls..PRO|
|00005cb0| 43 45 44 55 52 45 20 4c | 46 69 6e 64 20 28 56 41 |CEDURE L|Find (VA|
|00005cc0| 52 20 6f 66 66 73 65 74 | 2c 6c 65 6e 3a ca ca 49 |R offset|,len:..I|
|00005cd0| 4e 54 45 47 45 52 3b 20 | 74 68 65 43 65 6c 6c 3a |NTEGER; |theCell:|
|00005ce0| ca ca 43 65 6c 6c 3b 0d | 20 20 20 20 20 20 20 20 |..Cell;.| |
|00005cf0| 20 20 20 20 20 20 20 20 | 20 6c 48 61 6e 64 6c 65 | | lHandle|
|00005d00| 3a ca ca 4c 69 73 74 48 | 61 6e 64 6c 65 29 3b 0d |:..ListH|andle);.|
|00005d10| 0d 47 69 76 65 6e 20 61 | 20 63 65 6c 6c 20 69 6e |.Given a| cell in|
|00005d20| 20 74 68 65 43 65 6c 6c | 2c 20 4c 46 69 6e 64 20 | theCell|, LFind |
|00005d30| 72 65 74 75 72 6e 73 20 | 74 68 65 20 6f 66 66 73 |returns |the offs|
|00005d40| 65 74 20 61 6e 64 20 74 | 68 65 20 6c 65 6e 67 74 |et and t|he lengt|
|00005d50| 68 20 69 6e 20 62 79 74 | 65 73 20 6f 66 20 74 68 |h in byt|es of th|
|00005d60| 65 0d 63 65 6c 6c d5 73 | 20 64 61 74 61 2e 20 49 |e.cell.s| data. I|
|00005d70| 66 20 61 6e 20 69 6e 76 | 61 6c 69 64 20 63 65 6c |f an inv|alid cel|
|00005d80| 6c 20 69 73 20 73 70 65 | 63 69 66 69 65 64 2c 20 |l is spe|cified, |
|00005d90| 6f 66 66 73 65 74 20 61 | 6e 64 20 6c 65 6e 20 61 |offset a|nd len a|
|00005da0| 72 65 20 73 65 74 20 74 | 6f 20 d0 31 2e 20 41 20 |re set t|o .1. A |
|00005db0| 73 69 6d 69 6c 61 72 0d | 70 72 6f 63 65 64 75 72 |similar.|procedur|
|00005dc0| 65 2c 20 4c 47 65 74 43 | 65 6c 6c 2c 20 69 73 20 |e, LGetC|ell, is |
|00005dd0| 6d 6f 72 65 20 63 6f 6e | 76 65 6e 69 65 6e 74 20 |more con|venient |
|00005de0| 74 6f 20 75 73 65 20 66 | 72 6f 6d 20 50 61 73 63 |to use f|rom Pasc|
|00005df0| 61 6c 2e 0d 0d 46 55 4e | 43 54 49 4f 4e 20 4c 4e |al...FUN|CTION LN|
|00005e00| 65 78 74 43 65 6c 6c 20 | 28 68 4e 65 78 74 2c 76 |extCell |(hNext,v|
|00005e10| 4e 65 78 74 3a ca ca 42 | 4f 4f 4c 45 41 4e 3b 20 |Next:..B|OOLEAN; |
|00005e20| 56 41 52 20 74 68 65 43 | 65 6c 6c 3a ca ca 43 65 |VAR theC|ell:..Ce|
|00005e30| 6c 6c 3b 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ll;. | |
|00005e40| 20 20 20 20 20 20 20 20 | 6c 48 61 6e 64 6c 65 3a | |lHandle:|
|00005e50| ca ca 4c 69 73 74 48 61 | 6e 64 6c 65 29 20 3a ca |..ListHa|ndle) :.|
|00005e60| ca 42 4f 4f 4c 45 41 4e | 3b 0d 0d 47 69 76 65 6e |.BOOLEAN|;..Given|
|00005e70| 20 61 20 63 65 6c 6c 20 | 69 6e 20 74 68 65 43 65 | a cell |in theCe|
|00005e80| 6c 6c 2c 20 4c 4e 65 78 | 74 43 65 6c 6c 20 72 65 |ll, LNex|tCell re|
|00005e90| 74 75 72 6e 73 20 69 6e | 20 74 68 65 43 65 6c 6c |turns in| theCell|
|00005ea0| 20 74 68 65 20 6e 65 78 | 74 20 63 65 6c 6c 20 69 | the nex|t cell i|
|00005eb0| 6e 20 74 68 65 20 6c 69 | 73 74 2e 20 49 66 0d 62 |n the li|st. If.b|
|00005ec0| 6f 74 68 20 68 4e 65 78 | 74 20 61 6e 64 20 76 4e |oth hNex|t and vN|
|00005ed0| 65 78 74 20 61 72 65 20 | 54 52 55 45 2c 20 74 68 |ext are |TRUE, th|
|00005ee0| 65 43 65 6c 6c 20 69 73 | 20 66 69 72 73 74 20 61 |eCell is| first a|
|00005ef0| 64 76 61 6e 63 65 64 20 | 74 6f 20 74 68 65 20 6e |dvanced |to the n|
|00005f00| 65 78 74 20 63 65 6c 6c | 20 69 6e 20 74 68 65 20 |ext cell| in the |
|00005f10| 72 6f 77 2e 0d 49 66 20 | 74 68 65 72 65 20 61 72 |row..If |there ar|
|00005f20| 65 20 6e 6f 20 6d 6f 72 | 65 20 63 65 6c 6c 73 20 |e no mor|e cells |
|00005f30| 69 6e 20 74 68 65 20 72 | 6f 77 2c 20 74 68 65 43 |in the r|ow, theC|
|00005f40| 65 6c 6c 20 69 73 20 73 | 65 74 20 74 6f 20 74 68 |ell is s|et to th|
|00005f50| 65 20 66 69 72 73 74 20 | 63 65 6c 6c 20 69 6e 20 |e first |cell in |
|00005f60| 74 68 65 20 6e 65 78 74 | 0d 72 6f 77 2e 20 49 66 |the next|.row. If|
|00005f70| 20 74 68 65 72 65 20 61 | 72 65 20 6e 6f 20 6d 6f | there a|re no mo|
|00005f80| 72 65 20 72 6f 77 73 2c | 20 46 41 4c 53 45 20 69 |re rows,| FALSE i|
|00005f90| 73 20 72 65 74 75 72 6e | 65 64 2e 20 49 66 20 6f |s return|ed. If o|
|00005fa0| 6e 6c 79 20 68 4e 65 78 | 74 20 69 73 20 54 52 55 |nly hNex|t is TRU|
|00005fb0| 45 2c 20 74 68 65 43 65 | 6c 6c 20 69 73 0d 61 64 |E, theCe|ll is.ad|
|00005fc0| 76 61 6e 63 65 64 20 77 | 69 74 68 69 6e 20 74 68 |vanced w|ithin th|
|00005fd0| 65 20 63 75 72 72 65 6e | 74 20 72 6f 77 2e 20 49 |e curren|t row. I|
|00005fe0| 66 20 6f 6e 6c 79 20 76 | 4e 65 78 74 20 69 73 20 |f only v|Next is |
|00005ff0| 54 52 55 45 2c 20 74 68 | 65 43 65 6c 6c 20 69 73 |TRUE, th|eCell is|
|00006000| 20 61 64 76 61 6e 63 65 | 64 20 77 69 74 68 69 6e | advance|d within|
|00006010| 0d 74 68 65 20 63 75 72 | 72 65 6e 74 20 63 6f 6c |.the cur|rent col|
|00006020| 75 6d 6e 2e 20 46 41 4c | 53 45 20 69 73 20 72 65 |umn. FAL|SE is re|
|00006030| 74 75 72 6e 65 64 20 69 | 66 20 74 68 65 72 65 20 |turned i|f there |
|00006040| 61 72 65 20 6e 6f 20 72 | 65 6d 61 69 6e 69 6e 67 |are no r|emaining|
|00006050| 20 63 65 6c 6c 73 20 69 | 6e 20 74 68 65 20 72 6f | cells i|n the ro|
|00006060| 77 20 6f 72 0d 63 6f 6c | 75 6d 6e 2e 0d 0d 50 52 |w or.col|umn...PR|
|00006070| 4f 43 45 44 55 52 45 20 | 4c 52 65 63 74 20 28 56 |OCEDURE |LRect (V|
|00006080| 41 52 20 63 65 6c 6c 52 | 65 63 74 3a ca ca 52 65 |AR cellR|ect:..Re|
|00006090| 63 74 3b 20 74 68 65 43 | 65 6c 6c 3a ca ca 43 65 |ct; theC|ell:..Ce|
|000060a0| 6c 6c 3b 20 6c 48 61 6e | 64 6c 65 3a ca ca 4c 69 |ll; lHan|dle:..Li|
|000060b0| 73 74 48 61 6e 64 6c 65 | 29 3b 0d 0d 4c 52 65 63 |stHandle|);..LRec|
|000060c0| 74 20 72 65 74 75 72 6e | 73 20 69 6e 20 63 65 6c |t return|s in cel|
|000060d0| 6c 52 65 63 74 20 74 68 | 65 20 6c 6f 63 61 6c 20 |lRect th|e local |
|000060e0| 28 51 75 69 63 6b 44 72 | 61 77 29 20 63 6f 6f 72 |(QuickDr|aw) coor|
|000060f0| 64 69 6e 61 74 65 73 20 | 6f 66 20 74 68 65 20 63 |dinates |of the c|
|00006100| 65 6c 6c 20 73 70 65 63 | 69 66 69 65 64 20 62 79 |ell spec|ified by|
|00006110| 0d 74 68 65 43 65 6c 6c | 2e 20 49 66 20 61 6e 20 |.theCell|. If an |
|00006120| 69 6e 76 61 6c 69 64 20 | 63 65 6c 6c 20 69 73 20 |invalid |cell is |
|00006130| 73 70 65 63 69 66 69 65 | 64 2c 20 28 30 2c 30 29 |specifie|d, (0,0)|
|00006140| 28 30 2c 30 29 20 69 73 | 20 72 65 74 75 72 6e 65 |(0,0) is| returne|
|00006150| 64 20 69 6e 20 63 65 6c | 6c 52 65 63 74 2e 0d 0d |d in cel|lRect...|
|00006160| 46 55 4e 43 54 49 4f 4e | 20 4c 53 65 61 72 63 68 |FUNCTION| LSearch|
|00006170| 20 28 64 61 74 61 50 74 | 72 3a ca ca 50 74 72 3b | (dataPt|r:..Ptr;|
|00006180| 20 64 61 74 61 4c 65 6e | 3a ca ca 49 4e 54 45 47 | dataLen|:..INTEG|
|00006190| 45 52 3b 20 73 65 61 72 | 63 68 50 72 6f 63 3a ca |ER; sear|chProc:.|
|000061a0| ca 50 74 72 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |.Ptr;. | |
|000061b0| 20 20 20 20 20 20 20 20 | 56 41 52 20 74 68 65 43 | |VAR theC|
|000061c0| 65 6c 6c 3a ca ca 43 65 | 6c 6c 3b 20 6c 48 61 6e |ell:..Ce|ll; lHan|
|000061d0| 64 6c 65 3a ca ca 4c 69 | 73 74 48 61 6e 64 6c 65 |dle:..Li|stHandle|
|000061e0| 29 20 3a ca ca 42 4f 4f | 4c 45 41 4e 3b 0d 0d 4c |) :..BOO|LEAN;..L|
|000061f0| 53 65 61 72 63 68 20 73 | 65 61 72 63 68 65 73 20 |Search s|earches |
|00006200| 66 6f 72 20 74 68 65 20 | 66 69 72 73 74 20 63 65 |for the |first ce|
|00006210| 6c 6c 20 67 72 65 61 74 | 65 72 20 74 68 61 6e 20 |ll great|er than |
|00006220| 6f 72 20 65 71 75 61 6c | 20 74 6f 20 74 68 65 43 |or equal| to theC|
|00006230| 65 6c 6c 20 74 68 61 74 | 20 63 6f 6e 74 61 69 6e |ell that| contain|
|00006240| 73 0d 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |s.the sp|ecified |
|00006250| 64 61 74 61 2e 20 49 66 | 20 61 20 63 65 6c 6c 20 |data. If| a cell |
|00006260| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 6d 61 74 63 68 |containi|ng match|
|00006270| 69 6e 67 20 64 61 74 61 | 20 69 73 20 66 6f 75 6e |ing data| is foun|
|00006280| 64 2c 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |d, the f|unction |
|00006290| 72 65 73 75 6c 74 0d 54 | 52 55 45 20 69 73 20 72 |result.T|RUE is r|
|000062a0| 65 74 75 72 6e 65 64 2c | 20 61 6e 64 20 74 68 65 |eturned,| and the|
|000062b0| 20 63 65 6c 6c 20 63 6f | 6f 72 64 69 6e 61 74 65 | cell co|ordinate|
|000062c0| 73 20 61 72 65 20 72 65 | 74 75 72 6e 65 64 20 69 |s are re|turned i|
|000062d0| 6e 20 74 68 65 43 65 6c | 6c 2e 20 49 66 20 73 65 |n theCel|l. If se|
|000062e0| 61 72 63 68 50 72 6f 63 | 20 69 73 0d 4e 49 4c 2c |archProc| is.NIL,|
|000062f0| 20 74 68 65 20 49 6e 74 | 65 72 6e 61 74 69 6f 6e | the Int|ernation|
|00006300| 61 6c 20 55 74 69 6c 69 | 74 69 65 73 20 50 61 63 |al Utili|ties Pac|
|00006310| 6b 61 67 65 20 66 75 6e | 63 74 69 6f 6e 20 49 55 |kage fun|ction IU|
|00006320| 4d 61 67 49 44 53 74 72 | 69 6e 67 20 69 73 20 63 |MagIDStr|ing is c|
|00006330| 61 6c 6c 65 64 20 74 6f | 20 63 6f 6d 70 61 72 65 |alled to| compare|
|00006340| 0d 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 64 |.the spe|cified d|
|00006350| 61 74 61 20 77 69 74 68 | 20 74 68 65 20 63 6f 6e |ata with| the con|
|00006360| 74 65 6e 74 73 20 6f 66 | 20 65 61 63 68 20 63 65 |tents of| each ce|
|00006370| 6c 6c 2e 20 49 66 20 73 | 65 61 72 63 68 50 72 6f |ll. If s|earchPro|
|00006380| 63 20 69 73 20 6e 6f 74 | 20 4e 49 4c 2c 20 74 68 |c is not| NIL, th|
|00006390| 65 0d 72 6f 75 74 69 6e | 65 20 70 6f 69 6e 74 65 |e.routin|e pointe|
|000063a0| 64 20 74 6f 20 62 79 20 | 73 65 61 72 63 68 50 72 |d to by |searchPr|
|000063b0| 6f 63 20 69 73 20 63 61 | 6c 6c 65 64 2e 0d 0d 4e |oc is ca|lled...N|
|000063c0| 6f 74 65 3a 20 20 59 6f | 75 72 20 73 65 61 72 63 |ote: Yo|ur searc|
|000063d0| 68 50 72 6f 63 20 73 68 | 6f 75 6c 64 20 68 61 76 |hProc sh|ould hav|
|000063e0| 65 20 74 68 65 20 73 61 | 6d 65 20 70 61 72 61 6d |e the sa|me param|
|000063f0| 65 74 65 72 73 20 61 73 | 20 74 68 65 0d 20 20 20 |eters as| the. |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.